Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006941/0.006941, allocations: 99.22 kB / 15.73 MB, free: 6.016 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.001351/0.001351, allocations: 189.7 kB / 16.67 MB, free: 5.93 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.83/0.83, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 60.47 kB / 0.5813 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1612, allocations: 80.2 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002938/0.1642, allocations: 1.872 MB / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5866/0.7508, allocations: 155.4 MB / 0.8133 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.7511, allocations: 6.312 kB / 0.8133 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.7513, allocations: 23.25 kB / 0.8133 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.7517, allocations: 69.34 kB / 0.8134 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.7524, allocations: 262 kB / 0.8136 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.7527, allocations: 256.7 kB / 0.8139 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.7529, allocations: 62.58 kB / 0.8139 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.7541, allocations: 249.5 kB / 0.8141 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.7543, allocations: 87.91 kB / 0.8142 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.7543, allocations: 18.06 kB / 0.8142 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.7547, allocations: 188 kB / 0.8144 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.7547, allocations: 43.67 kB / 0.8145 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.7548, allocations: 87.78 kB / 0.8146 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.7553, allocations: 275.7 kB / 0.8148 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7553, allocations: 5.078 kB / 0.8148 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7553, allocations: 0 / 0.8148 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.7553, allocations: 3.938 kB / 0.8148 GB, free: 10.89 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009399/0.7563, allocations: 0.5161 MB / 0.8153 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.7563, allocations: 9.531 kB / 0.8153 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007986/0.7571, allocations: 79.23 kB / 0.8154 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.7574, allocations: 230.9 kB / 0.8156 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.7575, allocations: 40.97 kB / 0.8157 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.7576, allocations: 17.53 kB / 0.8157 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.7581, allocations: 264.5 kB / 0.8159 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.7581, allocations: 0 / 0.8159 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.7581, allocations: 9.844 kB / 0.816 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.7581, allocations: 8.656 kB / 0.816 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.7586, allocations: 170.8 kB / 0.8161 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.7601, allocations: 1.173 MB / 0.8173 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.7608, allocations: 210.5 kB / 0.8175 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.761, allocations: 71.62 kB / 0.8175 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.761, allocations: 4.359 kB / 0.8175 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.761, allocations: 31.75 kB / 0.8176 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.761, allocations: 1.281 kB / 0.8176 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002585/0.7636, allocations: 0.6281 MB / 0.8182 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.7637, allocations: 53.53 kB / 0.8182 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.7639, allocations: 199 kB / 0.8184 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.764, allocations: 28.83 kB / 0.8185 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7641, allocations: 144.5 kB / 0.8186 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.7641, allocations: 46.27 kB / 0.8186 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.7642, allocations: 42.16 kB / 0.8187 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7644, allocations: 332.4 kB / 0.819 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.7646, allocations: 68.47 kB / 0.8191 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.7649, allocations: 137 kB / 0.8192 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.7653, allocations: 197.5 kB / 0.8194 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7653, allocations: 0 / 0.8194 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001364/0.7667, allocations: 381.9 kB / 0.8197 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7667, allocations: 7.594 kB / 0.8198 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7667, allocations: 2.781 kB / 0.8198 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.7678, allocations: 162.1 kB / 0.8199 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.768, allocations: 40.92 kB / 0.8199 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.7718, allocations: 3.253 MB / 0.8231 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.7721, allocations: 32.53 kB / 0.8232 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.7721, allocations: 11.97 kB / 0.8232 GB, free: 4.254 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.7723, allocations: 145.6 kB / 0.8233 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.7723, allocations: 16 kB / 0.8233 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.7735, allocations: 366.6 kB / 0.8237 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7735, allocations: 2.469 kB / 0.8237 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.7736, allocations: 0 / 0.8237 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7736, allocations: 3.984 kB / 0.8237 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.7739, allocations: 275.1 kB / 0.8239 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7739, allocations: 0 / 0.8239 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.774, allocations: 23.92 kB / 0.824 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/0.7748, allocations: 147.9 kB / 0.8241 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.7748, allocations: 0 / 0.8241 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.7783, allocations: 3.307 MB / 0.8273 GB, free: 304 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7783, allocations: 2.781 kB / 0.8273 GB, free: 304 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.7795, allocations: 432.1 kB / 0.8277 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.7796, allocations: 105 kB / 0.8278 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.7797, allocations: 6.344 kB / 0.8279 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.78, allocations: 19.48 kB / 0.8279 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.7801, allocations: 23.7 kB / 0.8279 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.7801, allocations: 13.09 kB / 0.8279 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001644/0.7803, allocations: 143.4 kB / 0.828 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7803, allocations: 0 / 0.828 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004228/0.7807, allocations: 80.19 kB / 0.8281 GB, free: 15.73 MB / 0.6075 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.7809, allocations: 110 kB / 0.8282 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.7819, allocations: 445 kB / 0.8286 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.782, allocations: 0 / 0.8286 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006575/0.7826, allocations: 358.5 kB / 0.829 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.783, allocations: 60 kB / 0.829 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/0.7839, allocations: 420.5 kB / 0.8294 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.7842, allocations: 0.7275 MB / 0.8302 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.7843, allocations: 39.67 kB / 0.8302 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.7844, allocations: 17.06 kB / 0.8302 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.7844, allocations: 3.938 kB / 0.8302 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of Templates: time 0.009016/0.7934, allocations: 5.34 MB / 0.8354 GB, free: 11.24 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)