Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00137/0.00137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001425/0.001425, allocations: 198.1 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9659/0.9659, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 65.81 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1573, allocations: 81.03 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003069/0.1604, allocations: 1.692 MB / 0.5861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4063/0.5667, allocations: 149.4 MB / 0.732 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.5668, allocations: 2.312 kB / 0.732 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.567, allocations: 11.22 kB / 0.732 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.5673, allocations: 34.12 kB / 0.732 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.5677, allocations: 137.1 kB / 0.7322 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.5679, allocations: 123.4 kB / 0.7323 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.568, allocations: 31.16 kB / 0.7323 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.57, allocations: 168.3 kB / 0.7325 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.57, allocations: 44.86 kB / 0.7325 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.5701, allocations: 8.094 kB / 0.7325 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.5705, allocations: 185.2 kB / 0.7327 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.5705, allocations: 19.84 kB / 0.7327 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.5706, allocations: 46.11 kB / 0.7328 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.571, allocations: 190.6 kB / 0.733 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.571, allocations: 2.438 kB / 0.733 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.571, allocations: 1.719 kB / 0.733 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.571, allocations: 0 / 0.733 GB, free: 14.38 MB / 0.5606 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.0006978/0.5717, allocations: 452.2 kB / 0.7334 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5717, allocations: 8.5 kB / 0.7334 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.5727, allocations: 83.02 kB / 0.7335 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.5729, allocations: 212.9 kB / 0.7337 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.573, allocations: 2.188 kB / 0.7337 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.573, allocations: 10.69 kB / 0.7337 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.5734, allocations: 130.1 kB / 0.7338 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.5734, allocations: 0 / 0.7338 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.5735, allocations: 8 kB / 0.7338 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5735, allocations: 6.812 kB / 0.7338 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.574, allocations: 130.3 kB / 0.734 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.5748, allocations: 417.3 kB / 0.7344 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.5755, allocations: 249.5 kB / 0.7346 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.5758, allocations: 78.16 kB / 0.7347 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.5758, allocations: 5.469 kB / 0.7347 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.5759, allocations: 35.97 kB / 0.7347 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5759, allocations: 0 / 0.7347 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007498/0.5767, allocations: 209.4 kB / 0.7349 GB, free: 13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.5767, allocations: 56.7 kB / 0.735 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.5768, allocations: 149.6 kB / 0.7351 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.5769, allocations: 26.55 kB / 0.7351 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.577, allocations: 110.9 kB / 0.7352 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.577, allocations: 26.41 kB / 0.7353 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.5771, allocations: 26.62 kB / 0.7353 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5772, allocations: 327.4 kB / 0.7356 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.5774, allocations: 52.77 kB / 0.7356 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5777, allocations: 88.95 kB / 0.7357 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.5781, allocations: 116.3 kB / 0.7358 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5781, allocations: 4.031 kB / 0.7358 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004606/0.5785, allocations: 155.7 kB / 0.736 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5786, allocations: 4.781 kB / 0.736 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5786, allocations: 0 / 0.736 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5786, allocations: 1.125 kB / 0.736 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.5788, allocations: 39.66 kB / 0.736 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.5788, allocations: 0 / 0.736 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.579, allocations: 19.73 kB / 0.7361 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.579, allocations: 3.984 kB / 0.7361 GB, free: 12.16 MB / 0.5606 GB 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 (8): * Single equations (assignments): 8 * 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 0.000113/0.5791, allocations: 122.7 kB / 0.7362 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.5792, allocations: 8.625 kB / 0.7362 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.5792, allocations: 18.39 kB / 0.7362 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5792, allocations: 2.188 kB / 0.7362 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5792, allocations: 0 / 0.7362 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5792, allocations: 0 / 0.7362 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.5801, allocations: 473.3 kB / 0.7367 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5801, allocations: 1.25 kB / 0.7367 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.5803, allocations: 26.86 kB / 0.7367 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5803, allocations: 0 / 0.7367 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5803, allocations: 3.484 kB / 0.7367 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5803, allocations: 0.875 kB / 0.7367 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5803, allocations: 5.281 kB / 0.7367 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.5808, allocations: 259.5 kB / 0.7369 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.5809, allocations: 84 kB / 0.737 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.5809, allocations: 1.312 kB / 0.737 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5811, allocations: 26.72 kB / 0.737 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.5812, allocations: 9.625 kB / 0.7371 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.5812, allocations: 5.547 kB / 0.7371 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.942e-05/0.5813, allocations: 122.4 kB / 0.7372 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5813, allocations: 0 / 0.7372 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002745/0.5816, allocations: 27.5 kB / 0.7372 GB, free: 11.27 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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.0001696/0.5817, allocations: 116.5 kB / 0.7373 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.5822, allocations: 127.3 kB / 0.7374 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5823, allocations: 0 / 0.7374 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.5825, allocations: 68.41 kB / 0.7375 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5828, allocations: 33.09 kB / 0.7375 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.5835, allocations: 266.8 kB / 0.7378 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.5838, allocations: 0.7111 MB / 0.7385 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.584, allocations: 24.11 kB / 0.7385 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.584, allocations: 16.2 kB / 0.7385 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.584, allocations: 0 / 0.7385 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.004623/0.5887, allocations: 1.826 MB / 0.7403 GB, free: 10.05 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)