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.006845/0.006845, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001352/0.001352, allocations: 186.6 kB / 16.67 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.535/1.535, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4224/0.4224, allocations: 54.94 MB / 324.8 MB, free: 24 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.001626/0.001626, allocations: 67.17 kB / 456.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1379, allocations: 59.59 MB / 0.5038 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002301/0.1402, allocations: 1.627 MB / 0.5053 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5459/0.6861, allocations: 151.6 MB / 0.6534 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.6863, allocations: 1.406 kB / 0.6534 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.6865, allocations: 16.59 kB / 0.6534 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.6866, allocations: 27.83 kB / 0.6534 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.6873, allocations: 170.1 kB / 0.6536 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.6875, allocations: 152.3 kB / 0.6537 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.6877, allocations: 29.88 kB / 0.6537 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.6879, allocations: 83.12 kB / 0.6538 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.688, allocations: 54.83 kB / 0.6539 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.688, allocations: 10.56 kB / 0.6539 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.6885, allocations: 195.6 kB / 0.6541 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.6885, allocations: 19 kB / 0.6541 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.6886, allocations: 57.81 kB / 0.6541 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.689, allocations: 226.4 kB / 0.6544 GB, free: 248 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.689, allocations: 2.484 kB / 0.6544 GB, free: 248 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.689, allocations: 0.7812 kB / 0.6544 GB, free: 248 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.689, allocations: 0 / 0.6544 GB, free: 248 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.0007638/0.6898, allocations: 0.5519 MB / 0.6549 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.6899, allocations: 9.438 kB / 0.6549 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.6909, allocations: 88.14 kB / 0.655 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.6912, allocations: 212.1 kB / 0.6552 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.6913, allocations: 9.094 kB / 0.6552 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.6913, allocations: 13.25 kB / 0.6552 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.6918, allocations: 152.2 kB / 0.6554 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6918, allocations: 0 / 0.6554 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.6919, allocations: 9.406 kB / 0.6554 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6919, allocations: 1.094 kB / 0.6554 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.6924, allocations: 129.7 kB / 0.6555 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007483/0.6931, allocations: 397.8 kB / 0.6559 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.6935, allocations: 109.1 kB / 0.656 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.6938, allocations: 103.1 kB / 0.6561 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.6939, allocations: 2.016 kB / 0.6561 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6939, allocations: 33.62 kB / 0.6561 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.6939, allocations: 0 / 0.6561 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001006/0.6949, allocations: 372.2 kB / 0.6565 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.695, allocations: 114.3 kB / 0.6566 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.6951, allocations: 151.2 kB / 0.6567 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.6952, allocations: 31.19 kB / 0.6567 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.6953, allocations: 110 kB / 0.6568 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.6953, allocations: 25.06 kB / 0.6569 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.6954, allocations: 37.05 kB / 0.6569 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6955, allocations: 329.5 kB / 0.6572 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.696, allocations: 94.48 kB / 0.6573 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.6963, allocations: 105.5 kB / 0.6574 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.697, allocations: 378.9 kB / 0.6578 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.697, allocations: 3.188 kB / 0.6578 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000833/0.6979, allocations: 418.3 kB / 0.6582 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/0.698, allocations: 129.2 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.698, allocations: 1.625 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.698, allocations: 3.609 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6982, allocations: 12.62 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6982, allocations: 0.5625 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.6984, allocations: 29.31 kB / 0.6583 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.6985, allocations: 15.03 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.0001693/0.6987, allocations: 190 kB / 0.6585 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.6987, allocations: 13.66 kB / 0.6586 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.6988, allocations: 13.19 kB / 0.6586 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.6988, allocations: 1.281 kB / 0.6586 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6988, allocations: 0.875 kB / 0.6586 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6988, allocations: 4.562 kB / 0.6586 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.6991, allocations: 211.1 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6991, allocations: 1.734 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.805e-05/0.6992, allocations: 16.19 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6992, allocations: 3.891 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.6992, allocations: 3.375 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6992, allocations: 0.5 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6992, allocations: 0.5312 kB / 0.6588 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/0.7002, allocations: 433.3 kB / 0.6592 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.7002, allocations: 83.7 kB / 0.6593 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.7003, allocations: 2.312 kB / 0.6593 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.7005, allocations: 27.58 kB / 0.6593 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.7006, allocations: 2.031 kB / 0.6593 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.7006, allocations: 9.891 kB / 0.6593 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001932/0.7008, allocations: 115.5 kB / 0.6594 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7008, allocations: 0 / 0.6594 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003688/0.7012, allocations: 56.16 kB / 0.6595 GB, free: 13.01 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.0003311/0.7015, allocations: 128.4 kB / 0.6596 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.7026, allocations: 0.4914 MB / 0.6601 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7026, allocations: 0.5 kB / 0.6601 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.7032, allocations: 239.4 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.0003802/0.7035, allocations: 29.58 kB / 0.6604 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/0.7044, allocations: 329 kB / 0.6607 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.7049, allocations: 0.6984 MB / 0.6614 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.053e-05/0.7049, allocations: 13.38 kB / 0.6614 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.705, allocations: 15 kB / 0.6614 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.705, allocations: 0.5 kB / 0.6614 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.008386/0.7134, allocations: 3.284 MB / 0.6646 GB, free: 11.43 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)