Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.00181/0.00181, allocations: 199 kB / 16.26 MB, free: 6.621 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7664/0.7664, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.81 kB / 0.5013 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1818, allocations: 80.21 MB / 0.5796 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003008/0.1848, allocations: 1.546 MB / 0.5811 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4574/0.6423, allocations: 130.1 MB / 0.7082 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.6424, allocations: 0 / 0.7082 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.6425, allocations: 5.438 kB / 0.7082 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.6426, allocations: 10.72 kB / 0.7082 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.643, allocations: 58.7 kB / 0.7082 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.6431, allocations: 54.73 kB / 0.7083 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.6432, allocations: 19.89 kB / 0.7083 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.472e-05/0.6433, allocations: 18.39 kB / 0.7083 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.6433, allocations: 25.45 kB / 0.7083 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.6434, allocations: 7.938 kB / 0.7083 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.87e-05/0.6435, allocations: 17.08 kB / 0.7084 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.6435, allocations: 15.53 kB / 0.7084 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.6435, allocations: 20.92 kB / 0.7084 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.6437, allocations: 59.69 kB / 0.7085 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.6437, allocations: 1.562 kB / 0.7085 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6437, allocations: 0 / 0.7085 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6437, allocations: 0 / 0.7085 GB, free: 2.289 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005456/0.6443, allocations: 387.5 kB / 0.7088 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6443, allocations: 9.469 kB / 0.7088 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.6443, allocations: 8.062 kB / 0.7088 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6445, allocations: 167.7 kB / 0.709 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6445, allocations: 1.406 kB / 0.709 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.6445, allocations: 2.375 kB / 0.709 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.6448, allocations: 76.17 kB / 0.7091 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.6448, allocations: 4.125 kB / 0.7091 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.6448, allocations: 7.938 kB / 0.7091 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6449, allocations: 1 kB / 0.7091 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.6451, allocations: 65.62 kB / 0.7092 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.6456, allocations: 291.2 kB / 0.7094 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.6458, allocations: 63.66 kB / 0.7095 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.646, allocations: 38.23 kB / 0.7095 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.6462, allocations: 92.53 kB / 0.7096 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.6462, allocations: 36.7 kB / 0.7097 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 3.106e-06/0.6462, allocations: 0 / 0.7097 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005626/0.6468, allocations: 133.1 kB / 0.7098 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.6468, allocations: 51.41 kB / 0.7098 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6469, allocations: 118.2 kB / 0.7099 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.647, allocations: 29.7 kB / 0.71 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.647, allocations: 88.34 kB / 0.7101 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.6471, allocations: 9.75 kB / 0.7101 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.6471, allocations: 17.36 kB / 0.7101 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6472, allocations: 317.9 kB / 0.7104 GB, free: 484 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.6474, allocations: 31.41 kB / 0.7104 GB, free: 480 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.6475, allocations: 35.98 kB / 0.7104 GB, free: 472 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.6478, allocations: 65.98 kB / 0.7105 GB, free: 456 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6478, allocations: 1.219 kB / 0.7105 GB, free: 456 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003763/0.6482, allocations: 102.3 kB / 0.7106 GB, free: 408 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6482, allocations: 6.516 kB / 0.7106 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6482, allocations: 0 / 0.7106 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.6482, allocations: 1.625 kB / 0.7106 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.6484, allocations: 22.14 kB / 0.7106 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.6484, allocations: 2.094 kB / 0.7106 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.6485, allocations: 14.95 kB / 0.7107 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.6485, allocations: 1.812 kB / 0.7107 GB, free: 396 kB / 0.5294 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 (3): * Single equations (assignments): 3 * 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 7.952e-05/0.6486, allocations: 115.8 kB / 0.7108 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.6486, allocations: 6.406 kB / 0.7108 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.649, allocations: 109.3 kB / 0.7109 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.649, allocations: 1.094 kB / 0.7109 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.649, allocations: 5.812 kB / 0.7109 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.6491, allocations: 2.094 kB / 0.7109 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.6493, allocations: 176 kB / 0.7111 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6493, allocations: 2.109 kB / 0.7111 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.6494, allocations: 14.31 kB / 0.7111 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6494, allocations: 5.156 kB / 0.7111 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.6494, allocations: 4 kB / 0.7111 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6494, allocations: 2.078 kB / 0.7111 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/0.6494, allocations: 0 / 0.7111 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.6498, allocations: 195.9 kB / 0.7113 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.6499, allocations: 86.92 kB / 0.7113 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.6499, allocations: 1.188 kB / 0.7113 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.65, allocations: 15.62 kB / 0.7114 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.65, allocations: 11.77 kB / 0.7114 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.6501, allocations: 1.188 kB / 0.7114 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.6501, allocations: 97.17 kB / 0.7115 GB, free: 15.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6501, allocations: 0 / 0.7115 GB, free: 15.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002306/0.6504, allocations: 12.38 kB / 0.7115 GB, free: 15.66 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0002062/0.6506, allocations: 106.8 kB / 0.7116 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.6509, allocations: 71.47 kB / 0.7116 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.651, allocations: 5.219 kB / 0.7117 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.6511, allocations: 34.3 kB / 0.7117 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.6515, allocations: 12.05 kB / 0.7117 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.6519, allocations: 177.2 kB / 0.7119 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.6522, allocations: 0.6838 MB / 0.7125 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.6522, allocations: 3.078 kB / 0.7125 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.6523, allocations: 14.62 kB / 0.7126 GB, free: 14.7 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6523, allocations: 0 / 0.7126 GB, free: 14.7 MB / 0.545 GB Notification: Performance of Templates: time 0.004265/0.6565, allocations: 0.8817 MB / 0.7134 GB, free: 14.62 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)