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.007111/0.007111, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001395/0.001395, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8131/0.8131, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 70.31 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1961, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004197/0.2004, allocations: 1.877 MB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6941/0.8945, allocations: 155.4 MB / 0.8133 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.8948, allocations: 2.062 kB / 0.8133 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.8951, allocations: 29.44 kB / 0.8133 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.8954, allocations: 77.3 kB / 0.8134 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.8963, allocations: 251.2 kB / 0.8136 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.8967, allocations: 261.3 kB / 0.8139 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.8969, allocations: 66.19 kB / 0.8139 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.8982, allocations: 245.1 kB / 0.8142 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.8984, allocations: 90.11 kB / 0.8142 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.8984, allocations: 16.47 kB / 0.8143 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.8989, allocations: 182.9 kB / 0.8144 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.8989, allocations: 40.31 kB / 0.8145 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.8991, allocations: 89.92 kB / 0.8146 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.8996, allocations: 281.1 kB / 0.8148 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8996, allocations: 2.156 kB / 0.8148 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8996, allocations: 1.5 kB / 0.8148 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8996, allocations: 0 / 0.8148 GB, free: 3.184 MB / 0.6387 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.0009702/0.9006, allocations: 0.5082 MB / 0.8153 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9006, allocations: 11.38 kB / 0.8153 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.9016, allocations: 81.06 kB / 0.8154 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.9018, allocations: 224 kB / 0.8156 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/0.9019, allocations: 47.95 kB / 0.8157 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.902, allocations: 14.91 kB / 0.8157 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.9025, allocations: 262.4 kB / 0.8159 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.9026, allocations: 1.969 kB / 0.8159 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.9026, allocations: 9.688 kB / 0.8159 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9026, allocations: 9.281 kB / 0.816 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.9031, allocations: 170.5 kB / 0.8161 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.905, allocations: 1.174 MB / 0.8173 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.9058, allocations: 206.3 kB / 0.8175 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.9059, allocations: 71.62 kB / 0.8175 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.906, allocations: 9.016 kB / 0.8175 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.906, allocations: 33.48 kB / 0.8176 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.906, allocations: 0 / 0.8176 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12): time 0.00287/0.9089, allocations: 0.6233 MB / 0.8182 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.9089, allocations: 53.58 kB / 0.8182 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.9092, allocations: 199.2 kB / 0.8184 GB, free: 17.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.9093, allocations: 26.89 kB / 0.8184 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.9093, allocations: 140.7 kB / 0.8186 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.9094, allocations: 39.95 kB / 0.8186 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.9095, allocations: 46.98 kB / 0.8187 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9096, allocations: 325.3 kB / 0.819 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.9099, allocations: 70.53 kB / 0.819 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.9101, allocations: 136.5 kB / 0.8192 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.9106, allocations: 202.9 kB / 0.8194 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9106, allocations: 1.062 kB / 0.8194 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001696/0.9123, allocations: 371.2 kB / 0.8197 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.9124, allocations: 7 kB / 0.8197 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9124, allocations: 2.438 kB / 0.8197 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.9136, allocations: 168.9 kB / 0.8199 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.9138, allocations: 40.34 kB / 0.8199 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/0.9187, allocations: 3.253 MB / 0.8231 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.9192, allocations: 37.23 kB / 0.8231 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.9192, allocations: 9.281 kB / 0.8231 GB, free: 13.6 MB / 0.6544 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.000186/0.9194, allocations: 135.1 kB / 0.8233 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.9195, allocations: 17.95 kB / 0.8233 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.9211, allocations: 373.4 kB / 0.8237 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.9211, allocations: 1.562 kB / 0.8237 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.9211, allocations: 0.5312 kB / 0.8237 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.9211, allocations: 6.406 kB / 0.8237 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.9216, allocations: 270.8 kB / 0.8239 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.9216, allocations: 1.656 kB / 0.8239 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.9217, allocations: 20.92 kB / 0.8239 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000902/0.9226, allocations: 143.2 kB / 0.8241 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.9227, allocations: 3.094 kB / 0.8241 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.9265, allocations: 3.296 MB / 0.8273 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9266, allocations: 4.188 kB / 0.8273 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.928, allocations: 434.9 kB / 0.8277 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.9281, allocations: 103.7 kB / 0.8278 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.9281, allocations: 6.234 kB / 0.8278 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.9284, allocations: 15.36 kB / 0.8278 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.9285, allocations: 18.52 kB / 0.8279 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.9286, allocations: 9.531 kB / 0.8279 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002904/0.9289, allocations: 149.2 kB / 0.828 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9289, allocations: 1.156 kB / 0.828 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005157/0.9294, allocations: 72.81 kB / 0.8281 GB, free: 10.09 MB / 0.6544 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.0002416/0.9296, allocations: 114.6 kB / 0.8282 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.9308, allocations: 445.9 kB / 0.8286 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.9308, allocations: 0 / 0.8286 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.9315, allocations: 362 kB / 0.829 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.932, allocations: 59.36 kB / 0.829 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.933, allocations: 413 kB / 0.8294 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.9334, allocations: 0.7289 MB / 0.8301 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.9336, allocations: 36.66 kB / 0.8302 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.9336, allocations: 25.08 kB / 0.8302 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.9336, allocations: 0 / 0.8302 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of Templates: time 0.01073/0.9444, allocations: 5.351 MB / 0.8354 GB, free: 8.492 MB / 0.6544 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)