Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00154/0.00154, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001785/0.001785, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7967/0.7967, allocations: 132.2 MB / 423.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.5024 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3736, allocations: 80.18 MB / 0.5807 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002623/0.3763, allocations: 1.64 MB / 0.5823 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1475/0.5237, allocations: 151.6 MB / 0.7303 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.5239, allocations: 0 / 0.7303 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.5241, allocations: 19.81 kB / 0.7304 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.5243, allocations: 47.69 kB / 0.7304 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.5246, allocations: 143.4 kB / 0.7305 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.5248, allocations: 123.6 kB / 0.7307 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.5249, allocations: 31.36 kB / 0.7307 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009906/0.5259, allocations: 168.9 kB / 0.7309 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.526, allocations: 43.83 kB / 0.7309 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.5261, allocations: 11.94 kB / 0.7309 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.5264, allocations: 175.7 kB / 0.7311 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.5265, allocations: 31.91 kB / 0.7311 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.5265, allocations: 43.8 kB / 0.7311 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.5268, allocations: 183.4 kB / 0.7313 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5268, allocations: 0 / 0.7313 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5268, allocations: 0 / 0.7313 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.5269, allocations: 0 / 0.7313 GB, free: 3.566 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.0005874/0.5274, allocations: 450.9 kB / 0.7317 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5275, allocations: 8.031 kB / 0.7318 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008889/0.5284, allocations: 91.77 kB / 0.7318 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.5286, allocations: 198.9 kB / 0.732 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5286, allocations: 11.98 kB / 0.732 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.5286, allocations: 11.94 kB / 0.7321 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.5291, allocations: 136.4 kB / 0.7322 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.5291, allocations: 0 / 0.7322 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.5291, allocations: 4 kB / 0.7322 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5291, allocations: 3.938 kB / 0.7322 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.5296, allocations: 143.8 kB / 0.7323 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.5304, allocations: 404.4 kB / 0.7327 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.5311, allocations: 251.7 kB / 0.733 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.5314, allocations: 76.8 kB / 0.733 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.5314, allocations: 0 / 0.733 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5314, allocations: 38.55 kB / 0.7331 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.5314, allocations: 0 / 0.7331 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007712/0.5322, allocations: 213.6 kB / 0.7333 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.5322, allocations: 55.41 kB / 0.7333 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.5324, allocations: 148.9 kB / 0.7335 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.5324, allocations: 25.7 kB / 0.7335 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.5325, allocations: 108 kB / 0.7336 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.5325, allocations: 23.8 kB / 0.7336 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.5326, allocations: 25.7 kB / 0.7336 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5327, allocations: 330.8 kB / 0.734 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.5329, allocations: 47.95 kB / 0.734 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.5331, allocations: 78.58 kB / 0.7341 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.5335, allocations: 124.8 kB / 0.7342 GB, free: 380 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5336, allocations: 3.938 kB / 0.7342 GB, free: 376 kB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004799/0.534, allocations: 165.4 kB / 0.7344 GB, free: 204 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5341, allocations: 4 kB / 0.7344 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5341, allocations: 0 / 0.7344 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.5341, allocations: 0 / 0.7344 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.5343, allocations: 31.95 kB / 0.7344 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5343, allocations: 0 / 0.7344 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.5345, allocations: 27.89 kB / 0.7344 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.5345, allocations: 0 / 0.7344 GB, free: 140 kB / 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 9.233e-05/0.5346, allocations: 125.7 kB / 0.7345 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.5346, allocations: 12.08 kB / 0.7345 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.5347, allocations: 16.66 kB / 0.7346 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5347, allocations: 4 kB / 0.7346 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5347, allocations: 0 / 0.7346 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5347, allocations: 0 / 0.7346 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/0.5355, allocations: 462.3 kB / 0.735 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5355, allocations: 0 / 0.735 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.5357, allocations: 31.97 kB / 0.735 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.5357, allocations: 3.984 kB / 0.735 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.5357, allocations: 7.938 kB / 0.7351 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5357, allocations: 7.875 kB / 0.7351 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5357, allocations: 0 / 0.7351 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.5363, allocations: 255.3 kB / 0.7353 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.5363, allocations: 85.02 kB / 0.7354 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.5363, allocations: 4 kB / 0.7354 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.5365, allocations: 19.91 kB / 0.7354 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.5366, allocations: 8 kB / 0.7354 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.5366, allocations: 7.984 kB / 0.7354 GB, free: 15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.83e-05/0.5367, allocations: 108.1 kB / 0.7355 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5367, allocations: 4 kB / 0.7355 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002611/0.5369, allocations: 24 kB / 0.7356 GB, free: 14.87 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.000144/0.5371, allocations: 115.2 kB / 0.7357 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005038/0.5376, allocations: 139.8 kB / 0.7358 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5376, allocations: 0 / 0.7358 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.5378, allocations: 72.36 kB / 0.7359 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.5382, allocations: 39.05 kB / 0.7359 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.5388, allocations: 268.8 kB / 0.7362 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.5391, allocations: 0.6963 MB / 0.7368 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.5391, allocations: 19.42 kB / 0.7369 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.5391, allocations: 0 / 0.7369 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.003446/0.5426, allocations: 1.711 MB / 0.7385 GB, free: 11.76 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)