Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 104.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7867/0.7867, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.41 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002731/0.1532, allocations: 1.489 MB / 0.6618 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.1535, allocations: 139.6 kB / 0.6619 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.1536, allocations: 0 / 0.6619 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.1536, allocations: 3.938 kB / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.1537, allocations: 7.938 kB / 0.6619 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.154, allocations: 71.83 kB / 0.662 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1542, allocations: 59.83 kB / 0.662 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1543, allocations: 15.98 kB / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.025e-05/0.1543, allocations: 27.92 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.1544, allocations: 19.92 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1544, allocations: 8 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.1545, allocations: 4 kB / 0.6621 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.1545, allocations: 23.91 kB / 0.6621 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.1545, allocations: 19.92 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1546, allocations: 59.72 kB / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1547, allocations: 0 / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1547, allocations: 4 kB / 0.6622 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.1547, allocations: 3.938 kB / 0.6622 GB, free: 8.305 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005715/0.1553, allocations: 375.3 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1553, allocations: 8.031 kB / 0.6626 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.1554, allocations: 8.844 kB / 0.6626 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1555, allocations: 164.4 kB / 0.6628 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.1556, allocations: 30.27 kB / 0.6628 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1556, allocations: 8.375 kB / 0.6628 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1558, allocations: 70.22 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1558, allocations: 7.938 kB / 0.6629 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1558, allocations: 0 / 0.6629 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1558, allocations: 0 / 0.6629 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.156, allocations: 51.89 kB / 0.6629 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.1566, allocations: 316.7 kB / 0.6632 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1568, allocations: 54.55 kB / 0.6633 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.1569, allocations: 24.94 kB / 0.6633 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.1569, allocations: 0 / 0.6633 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1569, allocations: 50.48 kB / 0.6633 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.1569, allocations: 0 / 0.6633 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003746/0.1573, allocations: 109.5 kB / 0.6634 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1574, allocations: 51.41 kB / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.1575, allocations: 105.8 kB / 0.6636 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1575, allocations: 25.7 kB / 0.6636 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.1575, allocations: 92.08 kB / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1576, allocations: 11.8 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1576, allocations: 17.72 kB / 0.6637 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1577, allocations: 326.8 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-05/0.1578, allocations: 23.97 kB / 0.6641 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.1579, allocations: 33.64 kB / 0.6641 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1581, allocations: 53.67 kB / 0.6642 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1581, allocations: 4 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00023/0.1583, allocations: 89.59 kB / 0.6642 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1584, allocations: 4 kB / 0.6642 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1584, allocations: 0 / 0.6642 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1584, allocations: 0 / 0.6642 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1585, allocations: 15.98 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1585, allocations: 0 / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.1586, allocations: 15.92 kB / 0.6643 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1586, allocations: 0 / 0.6643 GB, free: 5.957 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/0.1587, allocations: 118.7 kB / 0.6644 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1587, allocations: 4 kB / 0.6644 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.1587, allocations: 7.906 kB / 0.6644 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1587, allocations: 0 / 0.6644 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1587, allocations: 3.938 kB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1587, allocations: 0 / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1589, allocations: 181.5 kB / 0.6646 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.159, allocations: 4 kB / 0.6646 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.159, allocations: 15.92 kB / 0.6646 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.159, allocations: 0 / 0.6646 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1591, allocations: 0 / 0.6646 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1591, allocations: 4 kB / 0.6646 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1591, allocations: 0 / 0.6646 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1593, allocations: 175.4 kB / 0.6648 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.1594, allocations: 89.09 kB / 0.6648 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1594, allocations: 0 / 0.6648 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1595, allocations: 11.92 kB / 0.6649 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.1596, allocations: 8 kB / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1596, allocations: 4.125 kB / 0.6649 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.1596, allocations: 87.27 kB / 0.665 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1597, allocations: 0 / 0.665 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002318/0.1599, allocations: 12 kB / 0.665 GB, free: 5.141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001101/0.16, allocations: 103.2 kB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1602, allocations: 51.89 kB / 0.6651 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1603, allocations: 0 / 0.6651 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.1604, allocations: 27.97 kB / 0.6651 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1607, allocations: 4 kB / 0.6651 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.161, allocations: 171.5 kB / 0.6653 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1612, allocations: 0.6885 MB / 0.666 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.1613, allocations: 7.438 kB / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1613, allocations: 0 / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of Templates: time 0.002114/0.1634, allocations: 0.8533 MB / 0.6668 GB, free: 3.18 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)