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.009533/0.009534, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.0025/0.0025, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.594/1.594, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4277/0.4277, allocations: 54.94 MB / 324.8 MB, free: 20 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.001397/0.001397, allocations: 66.27 kB / 456.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 59.6 MB / 0.5038 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002348/0.1277, allocations: 1.378 MB / 0.5051 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005252/0.1282, allocations: 217.1 kB / 0.5053 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.1283, allocations: 0 / 0.5053 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.1283, allocations: 3.938 kB / 0.5053 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.1284, allocations: 8.891 kB / 0.5053 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1287, allocations: 21.44 kB / 0.5054 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.1288, allocations: 25.95 kB / 0.5054 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1289, allocations: 3.25 kB / 0.5054 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.129, allocations: 11.36 kB / 0.5054 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.129, allocations: 15.33 kB / 0.5054 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.129, allocations: 2.344 kB / 0.5054 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1292, allocations: 28.28 kB / 0.5054 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.1292, allocations: 4 kB / 0.5054 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.1292, allocations: 10.81 kB / 0.5054 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1294, allocations: 37.36 kB / 0.5055 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1294, allocations: 1.094 kB / 0.5055 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1294, allocations: 0 / 0.5055 GB, free: 8.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.1294, allocations: 0 / 0.5055 GB, free: 8.34 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.0004893/0.1299, allocations: 346.9 kB / 0.5058 GB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1299, allocations: 8.5 kB / 0.5058 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.1301, allocations: 8.547 kB / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1302, allocations: 165.7 kB / 0.506 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1302, allocations: 4.312 kB / 0.506 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1303, allocations: 2.594 kB / 0.506 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1305, allocations: 49.02 kB / 0.506 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1305, allocations: 192 / 0.506 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1305, allocations: 5.5 kB / 0.506 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1305, allocations: 4 kB / 0.5061 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.1307, allocations: 34.45 kB / 0.5061 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.131, allocations: 253.9 kB / 0.5063 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1312, allocations: 42.67 kB / 0.5064 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.1313, allocations: 26.69 kB / 0.5064 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1313, allocations: 0 / 0.5064 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.1313, allocations: 32 kB / 0.5064 GB, free: 7.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1313, allocations: 0 / 0.5064 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.1317, allocations: 80.48 kB / 0.5065 GB, free: 7.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1317, allocations: 64.81 kB / 0.5066 GB, free: 7.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.1318, allocations: 102.1 kB / 0.5067 GB, free: 7.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.1318, allocations: 27.11 kB / 0.5067 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.1318, allocations: 80.14 kB / 0.5068 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1318, allocations: 13.22 kB / 0.5068 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.1319, allocations: 16.47 kB / 0.5068 GB, free: 6.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.1319, allocations: 310.8 kB / 0.5071 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.132, allocations: 25.97 kB / 0.5071 GB, free: 6.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.1321, allocations: 13.17 kB / 0.5071 GB, free: 6.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1322, allocations: 35.05 kB / 0.5072 GB, free: 6.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1323, allocations: 1.094 kB / 0.5072 GB, free: 6.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001749/0.1324, allocations: 72.34 kB / 0.5072 GB, free: 6.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1325, allocations: 9.5 kB / 0.5072 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1325, allocations: 0 / 0.5072 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1325, allocations: 0 / 0.5072 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1326, allocations: 11.11 kB / 0.5072 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1326, allocations: 0 / 0.5072 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.1326, allocations: 12.05 kB / 0.5073 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1327, allocations: 0 / 0.5073 GB, free: 6.504 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 4.812e-05/0.1327, allocations: 111.2 kB / 0.5074 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.1327, allocations: 5.656 kB / 0.5074 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.133, allocations: 77.55 kB / 0.5074 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.133, allocations: 0 / 0.5074 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.133, allocations: 0 / 0.5074 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.133, allocations: 0 / 0.5074 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1331, allocations: 163.6 kB / 0.5076 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1331, allocations: 0 / 0.5076 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.1332, allocations: 18.92 kB / 0.5076 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1332, allocations: 1.594 kB / 0.5076 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1332, allocations: 240 / 0.5076 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1332, allocations: 0 / 0.5076 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1332, allocations: 1.344 kB / 0.5076 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1334, allocations: 169.3 kB / 0.5078 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.1334, allocations: 81.09 kB / 0.5079 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1335, allocations: 9.375 kB / 0.5079 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.1335, allocations: 4.125 kB / 0.5079 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1336, allocations: 5.359 kB / 0.5079 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1336, allocations: 1.375 kB / 0.5079 GB, free: 5.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.986e-05/0.1336, allocations: 78.03 kB / 0.508 GB, free: 5.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1336, allocations: 0 / 0.508 GB, free: 5.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1338, allocations: 13.44 kB / 0.508 GB, free: 5.762 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 8.046e-05/0.1339, allocations: 102.3 kB / 0.5081 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1341, allocations: 41.89 kB / 0.5081 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1342, allocations: 0 / 0.5081 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.1342, allocations: 21.73 kB / 0.5081 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1346, allocations: 13.3 kB / 0.5081 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.1349, allocations: 131.2 kB / 0.5083 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.135, allocations: 0.6782 MB / 0.5089 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.784e-05/0.135, allocations: 1.375 kB / 0.5089 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.1351, allocations: 8.812 kB / 0.5089 GB, free: 4.785 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1351, allocations: 0 / 0.5089 GB, free: 4.785 MB / 382.1 MB Notification: Performance of Templates: time 0.002661/0.1378, allocations: 0.4945 MB / 0.5094 GB, free: 4.527 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)