Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001404, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001568/0.001568, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.352/1.352, allocations: 222.9 MB / 241 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.7935/0.7935, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.86 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002752/0.1535, allocations: 1.65 MB / 0.6619 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4727/0.6263, allocations: 149.7 MB / 0.8081 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.6264, allocations: 2.438 kB / 0.8081 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.6267, allocations: 26.27 kB / 0.8081 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.6269, allocations: 47.14 kB / 0.8082 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.6275, allocations: 186.7 kB / 0.8084 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.6277, allocations: 156.6 kB / 0.8085 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.6278, allocations: 31.94 kB / 0.8085 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.629, allocations: 187.1 kB / 0.8087 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.6291, allocations: 59.62 kB / 0.8088 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.6291, allocations: 8.625 kB / 0.8088 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.6295, allocations: 165.4 kB / 0.8089 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.6295, allocations: 25.91 kB / 0.809 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.6296, allocations: 54.05 kB / 0.809 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.6299, allocations: 190.9 kB / 0.8092 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6299, allocations: 2.5 kB / 0.8092 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6299, allocations: 0 / 0.8092 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.6299, allocations: 0 / 0.8092 GB, free: 11.56 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008363/0.6308, allocations: 459.8 kB / 0.8096 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.6308, allocations: 12.53 kB / 0.8097 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.6314, allocations: 55.52 kB / 0.8097 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.6317, allocations: 205.7 kB / 0.8099 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.6317, allocations: 5.812 kB / 0.8099 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.6317, allocations: 11.31 kB / 0.8099 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.6322, allocations: 186.6 kB / 0.8101 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6322, allocations: 0 / 0.8101 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.6322, allocations: 2.469 kB / 0.8101 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6322, allocations: 2.438 kB / 0.8101 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.6327, allocations: 148.4 kB / 0.8102 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.6337, allocations: 0.8201 MB / 0.811 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.6341, allocations: 130.7 kB / 0.8112 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.6344, allocations: 80.56 kB / 0.8112 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.6344, allocations: 0 / 0.8112 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6344, allocations: 37.44 kB / 0.8113 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.6344, allocations: 3.938 kB / 0.8113 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.00182/0.6363, allocations: 457.6 kB / 0.8117 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6363, allocations: 54.03 kB / 0.8118 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.6364, allocations: 152.4 kB / 0.8119 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.6365, allocations: 28.83 kB / 0.8119 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.6365, allocations: 109 kB / 0.812 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.6366, allocations: 27.77 kB / 0.8121 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.6366, allocations: 36.84 kB / 0.8121 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6368, allocations: 321.5 kB / 0.8124 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.637, allocations: 73.28 kB / 0.8125 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.6373, allocations: 105.3 kB / 0.8126 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.6378, allocations: 182.7 kB / 0.8128 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6378, allocations: 0.875 kB / 0.8128 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001006/0.6388, allocations: 275.3 kB / 0.813 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6388, allocations: 6.781 kB / 0.813 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6388, allocations: 9.062 kB / 0.813 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.6394, allocations: 80.7 kB / 0.8131 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.6397, allocations: 36.72 kB / 0.8131 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.6418, allocations: 1.664 MB / 0.8148 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.642, allocations: 18.23 kB / 0.8148 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.6421, allocations: 8.016 kB / 0.8148 GB, free: 7.668 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.6422, allocations: 122.5 kB / 0.8149 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.6422, allocations: 10 kB / 0.8149 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.6433, allocations: 309.4 kB / 0.8152 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6433, allocations: 8.984 kB / 0.8152 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.6434, allocations: 5.453 kB / 0.8152 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6434, allocations: 4 kB / 0.8152 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.6436, allocations: 228.8 kB / 0.8155 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6437, allocations: 5.484 kB / 0.8155 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.6439, allocations: 34.72 kB / 0.8155 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.6443, allocations: 72.91 kB / 0.8156 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.6443, allocations: 6.203 kB / 0.8156 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.6463, allocations: 1.683 MB / 0.8172 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6463, allocations: 2.938 kB / 0.8172 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.6474, allocations: 379.8 kB / 0.8176 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.6474, allocations: 86.8 kB / 0.8177 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.6475, allocations: 10.03 kB / 0.8177 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.6477, allocations: 23.34 kB / 0.8177 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.6478, allocations: 17.11 kB / 0.8177 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.6478, allocations: 5.031 kB / 0.8177 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.6479, allocations: 108.9 kB / 0.8178 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6479, allocations: 0 / 0.8178 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003349/0.6482, allocations: 41.88 kB / 0.8179 GB, free: 5.227 MB / 0.5919 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.6484, allocations: 120.4 kB / 0.818 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009036/0.6493, allocations: 305 kB / 0.8183 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6493, allocations: 4 kB / 0.8183 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.6499, allocations: 223.1 kB / 0.8185 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.6502, allocations: 29.2 kB / 0.8185 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008481/0.6511, allocations: 334.1 kB / 0.8188 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.6514, allocations: 0.7069 MB / 0.8195 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.6515, allocations: 18.27 kB / 0.8195 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.6515, allocations: 0 / 0.8195 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of Templates: time 0.00502/0.6565, allocations: 2.74 MB / 0.8222 GB, free: 2.449 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)