Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00646/0.00646, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001468/0.001468, allocations: 195.2 kB / 16.67 MB, free: 5.914 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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4066/0.4066, allocations: 54.93 MB / 324.8 MB, free: 15.96 MB / 270.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.001435/0.001435, allocations: 68.38 kB / 456.2 MB, free: 38.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 59.6 MB / 0.5037 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002728/0.1386, allocations: 1.466 MB / 0.5051 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1398, allocations: 0.7371 MB / 0.5059 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.1398, allocations: 1.156 kB / 0.5059 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.1399, allocations: 7.938 kB / 0.5059 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.12e-05/0.1399, allocations: 9.406 kB / 0.5059 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.1404, allocations: 116.5 kB / 0.506 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.1405, allocations: 56.41 kB / 0.506 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1406, allocations: 14.86 kB / 0.5061 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.1407, allocations: 24.17 kB / 0.5061 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.1407, allocations: 26.78 kB / 0.5061 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1408, allocations: 4.125 kB / 0.5061 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.1411, allocations: 159.5 kB / 0.5063 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.1411, allocations: 9.312 kB / 0.5063 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1411, allocations: 29.34 kB / 0.5063 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1414, allocations: 130.7 kB / 0.5064 GB, free: 7.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1414, allocations: 0 / 0.5064 GB, free: 7.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1414, allocations: 0 / 0.5064 GB, free: 7.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1414, allocations: 0 / 0.5064 GB, free: 7.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004886/0.1419, allocations: 400.1 kB / 0.5068 GB, free: 7.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.142, allocations: 9.625 kB / 0.5068 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.142, allocations: 3.688 kB / 0.5068 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.1421, allocations: 175 kB / 0.507 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1421, allocations: 1.75 kB / 0.507 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1421, allocations: 7.062 kB / 0.507 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1424, allocations: 85.14 kB / 0.5071 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1424, allocations: 0 / 0.5071 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1424, allocations: 1.375 kB / 0.5071 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1424, allocations: 1.375 kB / 0.5071 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.1427, allocations: 65.05 kB / 0.5071 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.143, allocations: 286.5 kB / 0.5074 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1432, allocations: 61.84 kB / 0.5075 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1434, allocations: 34.8 kB / 0.5075 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.1436, allocations: 93.34 kB / 0.5076 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.1436, allocations: 39.92 kB / 0.5076 GB, free: 6.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1436, allocations: 0 / 0.5076 GB, free: 6.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004885/0.1441, allocations: 126.9 kB / 0.5077 GB, free: 6.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.1441, allocations: 53.03 kB / 0.5078 GB, free: 6.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.1442, allocations: 123.3 kB / 0.5079 GB, free: 6.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.1442, allocations: 27.2 kB / 0.5079 GB, free: 6.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.1443, allocations: 89.64 kB / 0.508 GB, free: 5.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1443, allocations: 9.281 kB / 0.508 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1443, allocations: 16.19 kB / 0.5081 GB, free: 5.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.1444, allocations: 320.7 kB / 0.5084 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1445, allocations: 29.69 kB / 0.5084 GB, free: 5.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1447, allocations: 37.42 kB / 0.5084 GB, free: 5.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1449, allocations: 63.95 kB / 0.5085 GB, free: 5.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1449, allocations: 7.922 kB / 0.5085 GB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002837/0.1452, allocations: 106.7 kB / 0.5086 GB, free: 5.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1452, allocations: 4.875 kB / 0.5086 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1452, allocations: 336 / 0.5086 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1453, allocations: 1.438 kB / 0.5086 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1454, allocations: 17.8 kB / 0.5086 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1454, allocations: 0 / 0.5086 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.1455, allocations: 11.86 kB / 0.5086 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1455, allocations: 1.562 kB / 0.5086 GB, free: 5.426 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 (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 prepare postOptimizeDAE: time 6.083e-05/0.1456, allocations: 119.2 kB / 0.5087 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1456, allocations: 6.797 kB / 0.5087 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.1459, allocations: 109.5 kB / 0.5089 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1459, allocations: 0 / 0.5089 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1459, allocations: 0 / 0.5089 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.146, allocations: 1.312 kB / 0.5089 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.1461, allocations: 182.8 kB / 0.509 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1461, allocations: 0 / 0.509 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.1462, allocations: 14.14 kB / 0.509 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1462, allocations: 0 / 0.509 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1462, allocations: 5.156 kB / 0.509 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1462, allocations: 0 / 0.509 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1462, allocations: 1.062 kB / 0.509 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.1466, allocations: 200.6 kB / 0.5092 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.1467, allocations: 82.2 kB / 0.5093 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1467, allocations: 1.156 kB / 0.5093 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1468, allocations: 19.48 kB / 0.5093 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.1469, allocations: 5.484 kB / 0.5093 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.1469, allocations: 1.375 kB / 0.5093 GB, free: 4.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.859e-05/0.1469, allocations: 100.1 kB / 0.5094 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.147, allocations: 0 / 0.5094 GB, free: 4.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1472, allocations: 42.34 kB / 0.5095 GB, free: 4.594 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.0001798/0.1474, allocations: 131 kB / 0.5096 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.1477, allocations: 70.86 kB / 0.5097 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1477, allocations: 0 / 0.5097 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1478, allocations: 32.88 kB / 0.5097 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.1482, allocations: 12.95 kB / 0.5097 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.1485, allocations: 147.7 kB / 0.5099 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.1486, allocations: 0.689 MB / 0.5105 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.1486, allocations: 2.906 kB / 0.5105 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.1487, allocations: 10.28 kB / 0.5105 GB, free: 3.586 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1487, allocations: 0 / 0.5105 GB, free: 3.586 MB / 382.1 MB Notification: Performance of Templates: time 0.003286/0.152, allocations: 1.399 MB / 0.5119 GB, free: 2.211 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)