Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00786/0.00786, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001931/0.001932, allocations: 193.5 kB / 16.67 MB, free: 5.953 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4189/0.4189, allocations: 54.94 MB / 324.8 MB, free: 28 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.001435/0.001435, allocations: 69.36 kB / 456.3 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1284, allocations: 59.59 MB / 0.5038 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002513/0.1309, allocations: 1.639 MB / 0.5054 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5659/0.6969, allocations: 151.6 MB / 0.6534 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.6972, allocations: 1.156 kB / 0.6534 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.6974, allocations: 16.88 kB / 0.6534 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.6975, allocations: 26 kB / 0.6534 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.6983, allocations: 165.1 kB / 0.6536 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.6986, allocations: 155.7 kB / 0.6537 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.6988, allocations: 31.34 kB / 0.6537 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.6991, allocations: 79.53 kB / 0.6538 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.6992, allocations: 57.25 kB / 0.6539 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.6993, allocations: 12.19 kB / 0.6539 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006151/0.6999, allocations: 195.6 kB / 0.6541 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.7, allocations: 18.17 kB / 0.6541 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.7001, allocations: 58.98 kB / 0.6541 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.7007, allocations: 219.4 kB / 0.6544 GB, free: 260 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7007, allocations: 0.875 kB / 0.6544 GB, free: 260 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.7007, allocations: 4 kB / 0.6544 GB, free: 256 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.7007, allocations: 0.7812 kB / 0.6544 GB, free: 256 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009435/0.7017, allocations: 0.5606 MB / 0.6549 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.7017, allocations: 9.469 kB / 0.6549 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/0.7027, allocations: 87.27 kB / 0.655 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.703, allocations: 209.4 kB / 0.6552 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.7031, allocations: 9.312 kB / 0.6552 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.7031, allocations: 10 kB / 0.6552 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.7036, allocations: 155.1 kB / 0.6554 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7036, allocations: 0 / 0.6554 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.7037, allocations: 6.656 kB / 0.6554 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.7037, allocations: 1.562 kB / 0.6554 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.7042, allocations: 131.1 kB / 0.6555 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.7051, allocations: 396.4 kB / 0.6559 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.7055, allocations: 109.9 kB / 0.656 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.7059, allocations: 96.44 kB / 0.6561 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.7059, allocations: 0.5625 kB / 0.6561 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.706, allocations: 37.36 kB / 0.6561 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 2.324e-06/0.706, allocations: 0 / 0.6561 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001236/0.7072, allocations: 375.5 kB / 0.6565 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.7073, allocations: 114.7 kB / 0.6566 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.7075, allocations: 147.8 kB / 0.6567 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.7075, allocations: 34.8 kB / 0.6567 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.7076, allocations: 107.1 kB / 0.6569 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.7076, allocations: 18.88 kB / 0.6569 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.7077, allocations: 47.2 kB / 0.6569 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7079, allocations: 323.8 kB / 0.6572 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.7082, allocations: 99.11 kB / 0.6573 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.7085, allocations: 105.3 kB / 0.6574 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.7092, allocations: 376.2 kB / 0.6578 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7092, allocations: 8.562 kB / 0.6578 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009001/0.7101, allocations: 415.4 kB / 0.6582 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.404e-05/0.7102, allocations: 129.2 kB / 0.6583 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7102, allocations: 4 kB / 0.6583 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7102, allocations: 5.125 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.7104, allocations: 16.02 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7104, allocations: 1.125 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.7106, allocations: 29.59 kB / 0.6584 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.7106, allocations: 14.47 kB / 0.6584 GB, free: 13.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (masFra2.found,masFra2.i_nw,masFra2.i_w,masFra1.found,masFra1.i_nw,masFra1.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001623/0.7108, allocations: 191.7 kB / 0.6586 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.7109, allocations: 13.22 kB / 0.6586 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.7109, allocations: 7.125 kB / 0.6586 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7109, allocations: 0.5 kB / 0.6586 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7109, allocations: 0.5 kB / 0.6586 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.7109, allocations: 0.5625 kB / 0.6586 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.7112, allocations: 216 kB / 0.6588 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7112, allocations: 0.875 kB / 0.6588 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-05/0.7113, allocations: 16.44 kB / 0.6588 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7113, allocations: 4.688 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.7113, allocations: 5.062 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7113, allocations: 2.328 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7113, allocations: 0.5625 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.7123, allocations: 428.5 kB / 0.6592 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.7124, allocations: 84.7 kB / 0.6593 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.7124, allocations: 2.844 kB / 0.6593 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.7127, allocations: 19.8 kB / 0.6593 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.7127, allocations: 5.516 kB / 0.6593 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.7127, allocations: 9.969 kB / 0.6593 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001077/0.7129, allocations: 115.4 kB / 0.6594 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7129, allocations: 0.5625 kB / 0.6594 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003816/0.7132, allocations: 53.28 kB / 0.6595 GB, free: 13.02 MB / 0.5137 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): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0003598/0.7136, allocations: 132 kB / 0.6596 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.7147, allocations: 0.4901 MB / 0.6601 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7147, allocations: 0 / 0.6601 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.7151, allocations: 241.6 kB / 0.6603 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.7155, allocations: 41.73 kB / 0.6604 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.7162, allocations: 330.4 kB / 0.6607 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.7165, allocations: 0.6991 MB / 0.6614 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.7165, allocations: 3.188 kB / 0.6614 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.7166, allocations: 11.19 kB / 0.6614 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.7166, allocations: 4 kB / 0.6614 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.006097/0.7227, allocations: 3.277 MB / 0.6646 GB, free: 11.44 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)