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.001048/0.001048, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.00102/0.00102, allocations: 198 kB / 17.3 MB, free: 5.883 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7884/0.7884, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3676, allocations: 80.91 MB / 0.5857 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003196/0.3708, allocations: 1.644 MB / 0.5874 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1696/0.5405, allocations: 151.5 MB / 0.7353 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.5407, allocations: 0 / 0.7353 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.541, allocations: 15.8 kB / 0.7354 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.5413, allocations: 47.69 kB / 0.7354 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.5417, allocations: 147.3 kB / 0.7356 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.5419, allocations: 119.6 kB / 0.7357 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.542, allocations: 33.31 kB / 0.7357 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.543, allocations: 176 kB / 0.7359 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.5431, allocations: 43.78 kB / 0.7359 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.5431, allocations: 8 kB / 0.7359 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.5435, allocations: 179.7 kB / 0.7361 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.5435, allocations: 23.91 kB / 0.7361 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.5436, allocations: 43.73 kB / 0.7361 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.5439, allocations: 201.1 kB / 0.7363 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.544, allocations: 0 / 0.7363 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.544, allocations: 0 / 0.7363 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.544, allocations: 0 / 0.7363 GB, free: 15.84 MB / 0.5762 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.00061/0.5446, allocations: 446.9 kB / 0.7368 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5446, allocations: 13.11 kB / 0.7368 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009344/0.5456, allocations: 79.94 kB / 0.7369 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.5459, allocations: 210.7 kB / 0.7371 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5459, allocations: 4 kB / 0.7371 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.5459, allocations: 12 kB / 0.7371 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.5464, allocations: 137.5 kB / 0.7372 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.5464, allocations: 4 kB / 0.7372 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.5464, allocations: 8 kB / 0.7372 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.5464, allocations: 3.938 kB / 0.7372 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.5469, allocations: 135.9 kB / 0.7373 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/0.5477, allocations: 408.4 kB / 0.7377 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.5484, allocations: 255.7 kB / 0.738 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.5486, allocations: 76.78 kB / 0.7381 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.5486, allocations: 4 kB / 0.7381 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.5487, allocations: 38.55 kB / 0.7381 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.5487, allocations: 0 / 0.7381 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007348/0.5494, allocations: 217.3 kB / 0.7383 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.5495, allocations: 51.41 kB / 0.7384 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.5496, allocations: 150.4 kB / 0.7385 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.5496, allocations: 25.7 kB / 0.7385 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.5497, allocations: 108 kB / 0.7386 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.5497, allocations: 27.78 kB / 0.7386 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.5498, allocations: 21.72 kB / 0.7387 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5499, allocations: 322.8 kB / 0.739 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.5501, allocations: 59.94 kB / 0.739 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.5504, allocations: 78.52 kB / 0.7391 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.5507, allocations: 120.7 kB / 0.7392 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5507, allocations: 4.031 kB / 0.7392 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004334/0.5512, allocations: 157.5 kB / 0.7394 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5512, allocations: 4 kB / 0.7394 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5512, allocations: 0 / 0.7394 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5512, allocations: 0 / 0.7394 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.5514, allocations: 31.97 kB / 0.7394 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5514, allocations: 0.5469 kB / 0.7394 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.5516, allocations: 19.88 kB / 0.7394 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5516, allocations: 4 kB / 0.7394 GB, free: 12.42 MB / 0.5762 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.0001034/0.5517, allocations: 129.7 kB / 0.7396 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.5518, allocations: 7.906 kB / 0.7396 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.5518, allocations: 20.7 kB / 0.7396 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5518, allocations: 0 / 0.7396 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5518, allocations: 4 kB / 0.7396 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5519, allocations: 0 / 0.7396 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007541/0.5526, allocations: 470.2 kB / 0.74 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5526, allocations: 0 / 0.74 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.5528, allocations: 27.91 kB / 0.7401 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5528, allocations: 4 kB / 0.7401 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.5528, allocations: 3.938 kB / 0.7401 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5528, allocations: 3.938 kB / 0.7401 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.5528, allocations: 3.984 kB / 0.7401 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.5533, allocations: 251.4 kB / 0.7403 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.5534, allocations: 89 kB / 0.7404 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.5534, allocations: 0 / 0.7404 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.5536, allocations: 23.92 kB / 0.7404 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.5536, allocations: 11.98 kB / 0.7404 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5537, allocations: 4 kB / 0.7404 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.793e-05/0.5537, allocations: 111.2 kB / 0.7405 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5537, allocations: 0 / 0.7405 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002567/0.554, allocations: 24 kB / 0.7406 GB, free: 11.15 MB / 0.5762 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.0001713/0.5542, allocations: 127 kB / 0.7407 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.5547, allocations: 123.9 kB / 0.7408 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5547, allocations: 0 / 0.7408 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.5549, allocations: 75.88 kB / 0.7409 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.5552, allocations: 30.56 kB / 0.7409 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.5558, allocations: 223.2 kB / 0.7411 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.5561, allocations: 0.7041 MB / 0.7418 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000112/0.5562, allocations: 28.86 kB / 0.7418 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.5563, allocations: 27.42 kB / 0.7419 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5563, allocations: 0 / 0.7419 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.004759/0.561, allocations: 1.926 MB / 0.7437 GB, free: 7.863 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)