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.007798/0.007798, allocations: 100 kB / 15.73 MB, free: 6.469 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.001122/0.001122, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.676/1.676, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4041/0.4041, allocations: 54.95 MB / 324.8 MB, free: 44 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.001777/0.001777, allocations: 73.41 kB / 456.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1358, allocations: 59.59 MB / 0.5038 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003125/0.139, allocations: 1.631 MB / 0.5054 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.555/0.694, allocations: 151.6 MB / 0.6534 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.6942, allocations: 4.812 kB / 0.6534 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.6944, allocations: 18.36 kB / 0.6534 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.6945, allocations: 20.67 kB / 0.6534 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.695, allocations: 169 kB / 0.6536 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.6952, allocations: 155.9 kB / 0.6537 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.6954, allocations: 25.58 kB / 0.6538 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.6955, allocations: 87.56 kB / 0.6539 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.627e-05/0.6956, allocations: 57.03 kB / 0.6539 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.6957, allocations: 9.875 kB / 0.6539 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.6961, allocations: 191 kB / 0.6541 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.6961, allocations: 18.17 kB / 0.6541 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.6962, allocations: 64.23 kB / 0.6542 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.6966, allocations: 218.5 kB / 0.6544 GB, free: 188 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6966, allocations: 0.8438 kB / 0.6544 GB, free: 188 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6966, allocations: 0 / 0.6544 GB, free: 188 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6966, allocations: 0.9688 kB / 0.6544 GB, free: 188 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.0007038/0.6973, allocations: 0.5625 MB / 0.6549 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6974, allocations: 9.875 kB / 0.655 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009376/0.6983, allocations: 84.61 kB / 0.655 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.6986, allocations: 210 kB / 0.6552 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.6987, allocations: 9.25 kB / 0.6552 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.6987, allocations: 8.812 kB / 0.6552 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.6991, allocations: 156.1 kB / 0.6554 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6991, allocations: 3.875 kB / 0.6554 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.6992, allocations: 4.938 kB / 0.6554 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6992, allocations: 1.5 kB / 0.6554 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.6996, allocations: 125.5 kB / 0.6555 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007191/0.7003, allocations: 397.9 kB / 0.6559 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.7007, allocations: 116.1 kB / 0.656 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.701, allocations: 91.94 kB / 0.6561 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.701, allocations: 2.125 kB / 0.6561 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.7011, allocations: 34.81 kB / 0.6561 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.7011, allocations: 0.5 kB / 0.6561 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0009761/0.7021, allocations: 376.1 kB / 0.6565 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.7021, allocations: 114.3 kB / 0.6566 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.7023, allocations: 155.9 kB / 0.6568 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.7023, allocations: 28.89 kB / 0.6568 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.7024, allocations: 106 kB / 0.6569 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.7024, allocations: 21.8 kB / 0.6569 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.7025, allocations: 44.17 kB / 0.6569 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7026, allocations: 327 kB / 0.6573 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.7029, allocations: 101.9 kB / 0.6574 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.7032, allocations: 102.9 kB / 0.6575 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.7038, allocations: 376.5 kB / 0.6578 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7038, allocations: 0 / 0.6578 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008161/0.7046, allocations: 416.6 kB / 0.6582 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.998e-05/0.7047, allocations: 132.1 kB / 0.6583 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7047, allocations: 4.688 kB / 0.6583 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.7047, allocations: 0.5 kB / 0.6583 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.7049, allocations: 18.75 kB / 0.6584 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7049, allocations: 3.562 kB / 0.6584 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.7051, allocations: 26.61 kB / 0.6584 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.7052, allocations: 13.58 kB / 0.6584 GB, free: 13.74 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.0001615/0.7053, allocations: 186.8 kB / 0.6586 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.7054, allocations: 17.5 kB / 0.6586 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.7054, allocations: 17.09 kB / 0.6586 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7054, allocations: 1.219 kB / 0.6586 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7054, allocations: 0 / 0.6586 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7054, allocations: 1.406 kB / 0.6586 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.7057, allocations: 212.9 kB / 0.6588 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7057, allocations: 0.5625 kB / 0.6588 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.539e-05/0.7058, allocations: 14.97 kB / 0.6588 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7058, allocations: 0.5 kB / 0.6588 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.7058, allocations: 2.875 kB / 0.6588 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7058, allocations: 3.938 kB / 0.6588 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7058, allocations: 4.562 kB / 0.6588 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.7066, allocations: 429.7 kB / 0.6593 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.7067, allocations: 83.52 kB / 0.6593 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.7067, allocations: 5.906 kB / 0.6593 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.707, allocations: 16.62 kB / 0.6594 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.707, allocations: 6.938 kB / 0.6594 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.707, allocations: 6.656 kB / 0.6594 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.671e-05/0.7071, allocations: 113.2 kB / 0.6595 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7071, allocations: 0.8438 kB / 0.6595 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003282/0.7075, allocations: 61.44 kB / 0.6595 GB, free: 12.95 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.00027/0.7077, allocations: 131.4 kB / 0.6597 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009538/0.7087, allocations: 0.4885 MB / 0.6601 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7087, allocations: 1.094 kB / 0.6601 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.7091, allocations: 235 kB / 0.6604 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.7095, allocations: 40.95 kB / 0.6604 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.7101, allocations: 321 kB / 0.6607 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.7104, allocations: 0.7031 MB / 0.6614 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.7104, allocations: 3.344 kB / 0.6614 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.7105, allocations: 11.97 kB / 0.6614 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.7105, allocations: 0 / 0.6614 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.006083/0.7165, allocations: 3.363 MB / 0.6647 GB, free: 11.34 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)