Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008928/0.008928, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001571/0.001571, allocations: 194.1 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4405/0.4405, allocations: 54.94 MB / 324.8 MB, free: 104 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 65.47 kB / 456.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1556, allocations: 59.6 MB / 0.5038 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002466/0.1581, allocations: 1.38 MB / 0.5051 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005476/0.1587, allocations: 215.7 kB / 0.5053 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.1587, allocations: 1.188 kB / 0.5053 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.1588, allocations: 0 / 0.5053 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.1589, allocations: 9.156 kB / 0.5053 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1591, allocations: 24.42 kB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.021e-05/0.1592, allocations: 25.86 kB / 0.5054 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1593, allocations: 7.641 kB / 0.5054 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.1594, allocations: 7.469 kB / 0.5054 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.1594, allocations: 11.58 kB / 0.5054 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1595, allocations: 2.406 kB / 0.5054 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.1596, allocations: 22.92 kB / 0.5054 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.1596, allocations: 17.09 kB / 0.5055 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.1596, allocations: 10.69 kB / 0.5055 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1597, allocations: 36.94 kB / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1598, allocations: 1.281 kB / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1598, allocations: 0 / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1598, allocations: 0 / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004832/0.1603, allocations: 342.2 kB / 0.5058 GB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1603, allocations: 9.562 kB / 0.5058 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.1604, allocations: 8.953 kB / 0.5059 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.41e-05/0.1605, allocations: 164.4 kB / 0.506 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1606, allocations: 2.156 kB / 0.506 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1606, allocations: 384 / 0.506 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1607, allocations: 49.73 kB / 0.5061 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1608, allocations: 2.156 kB / 0.5061 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1608, allocations: 3.938 kB / 0.5061 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1608, allocations: 0 / 0.5061 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.161, allocations: 41.77 kB / 0.5061 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.1613, allocations: 254.3 kB / 0.5063 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.1614, allocations: 35.16 kB / 0.5064 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.1615, allocations: 26.61 kB / 0.5064 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1615, allocations: 0 / 0.5064 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1615, allocations: 35.97 kB / 0.5064 GB, free: 7.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.1615, allocations: 0 / 0.5064 GB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003264/0.1619, allocations: 88.02 kB / 0.5065 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.1619, allocations: 56.44 kB / 0.5066 GB, free: 7.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.162, allocations: 99.2 kB / 0.5067 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.162, allocations: 25.7 kB / 0.5067 GB, free: 6.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.162, allocations: 93.58 kB / 0.5068 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.162, allocations: 9.281 kB / 0.5068 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.1621, allocations: 15 kB / 0.5068 GB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.1621, allocations: 312.5 kB / 0.5071 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.1622, allocations: 16.42 kB / 0.5071 GB, free: 6.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.1623, allocations: 18.44 kB / 0.5071 GB, free: 6.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1624, allocations: 43.2 kB / 0.5072 GB, free: 6.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1624, allocations: 0 / 0.5072 GB, free: 6.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001623/0.1626, allocations: 68.28 kB / 0.5072 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1626, allocations: 5.094 kB / 0.5073 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1626, allocations: 1.562 kB / 0.5073 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1626, allocations: 0 / 0.5073 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1627, allocations: 13.67 kB / 0.5073 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1627, allocations: 1.25 kB / 0.5073 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.1628, allocations: 6.75 kB / 0.5073 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1628, allocations: 1.438 kB / 0.5073 GB, free: 6.371 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.405e-05/0.1629, allocations: 115.1 kB / 0.5074 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1629, allocations: 1.344 kB / 0.5074 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.1632, allocations: 79.94 kB / 0.5075 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1632, allocations: 1.375 kB / 0.5075 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1632, allocations: 0 / 0.5075 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1632, allocations: 5.594 kB / 0.5075 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1633, allocations: 161.6 kB / 0.5076 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1634, allocations: 1.375 kB / 0.5076 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.809e-05/0.1634, allocations: 10.86 kB / 0.5076 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1634, allocations: 3.984 kB / 0.5076 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.1635, allocations: 1.375 kB / 0.5076 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1635, allocations: 4 kB / 0.5076 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1635, allocations: 1.375 kB / 0.5076 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1637, allocations: 168.1 kB / 0.5078 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.1637, allocations: 82.48 kB / 0.5079 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1638, allocations: 5.359 kB / 0.5079 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.1638, allocations: 6.688 kB / 0.5079 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.1639, allocations: 9.359 kB / 0.5079 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1639, allocations: 5.375 kB / 0.5079 GB, free: 5.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.164, allocations: 79.41 kB / 0.508 GB, free: 5.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.164, allocations: 0 / 0.508 GB, free: 5.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00022/0.1642, allocations: 8.125 kB / 0.508 GB, free: 5.617 MB / 382.1 MB 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 (3): * Single equations (assignments): 3 * 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.0001055/0.1643, allocations: 94.38 kB / 0.5081 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1645, allocations: 47.27 kB / 0.5081 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1645, allocations: 0 / 0.5081 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.1646, allocations: 24.3 kB / 0.5082 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1649, allocations: 10.62 kB / 0.5082 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.1653, allocations: 127.2 kB / 0.5083 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.1654, allocations: 0.673 MB / 0.5089 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.874e-05/0.1655, allocations: 9.422 kB / 0.509 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.1655, allocations: 8.812 kB / 0.509 GB, free: 4.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1655, allocations: 1.375 kB / 0.509 GB, free: 4.645 MB / 382.1 MB Notification: Performance of Templates: time 0.003051/0.1686, allocations: 0.5021 MB / 0.5095 GB, free: 4.383 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)