Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007017/0.007017, allocations: 101.7 kB / 15.73 MB, free: 6.051 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.001535/0.001535, allocations: 194.6 kB / 16.67 MB, free: 5.98 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9315/0.9315, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.91 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4941, allocations: 80.91 MB / 0.6646 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002706/0.4969, allocations: 1.651 MB / 0.6662 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.6806, allocations: 149.7 MB / 0.8124 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.6809, allocations: 7.938 kB / 0.8124 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.6812, allocations: 19.8 kB / 0.8124 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.6816, allocations: 55.64 kB / 0.8125 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.6822, allocations: 171.4 kB / 0.8127 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.6825, allocations: 171.5 kB / 0.8128 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.6827, allocations: 27.97 kB / 0.8128 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.684, allocations: 190.6 kB / 0.813 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.6841, allocations: 63.75 kB / 0.8131 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.6842, allocations: 12 kB / 0.8131 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.6845, allocations: 163.8 kB / 0.8133 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.6846, allocations: 27.91 kB / 0.8133 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.6847, allocations: 39.8 kB / 0.8133 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.6851, allocations: 209 kB / 0.8135 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6851, allocations: 0 / 0.8135 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6851, allocations: 0 / 0.8135 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.6851, allocations: 0 / 0.8135 GB, free: 8.648 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008854/0.686, allocations: 459.1 kB / 0.814 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.686, allocations: 8.031 kB / 0.814 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.6867, allocations: 60.69 kB / 0.814 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.6869, allocations: 202.8 kB / 0.8142 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.687, allocations: 7.938 kB / 0.8142 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.687, allocations: 12 kB / 0.8142 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.6874, allocations: 177.8 kB / 0.8144 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6874, allocations: 7.922 kB / 0.8144 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.6875, allocations: 8 kB / 0.8144 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.6875, allocations: 0 / 0.8144 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.6879, allocations: 147.8 kB / 0.8146 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.6891, allocations: 0.8167 MB / 0.8154 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.6895, allocations: 134.5 kB / 0.8155 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.6897, allocations: 80.78 kB / 0.8156 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.6897, allocations: 0 / 0.8156 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.6898, allocations: 30.56 kB / 0.8156 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.6898, allocations: 0 / 0.8156 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0018/0.6916, allocations: 463.3 kB / 0.816 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.6916, allocations: 55.39 kB / 0.8161 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.6917, allocations: 148.2 kB / 0.8162 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.6918, allocations: 29.7 kB / 0.8163 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.6918, allocations: 107.8 kB / 0.8164 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.6919, allocations: 23.66 kB / 0.8164 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.692, allocations: 29.69 kB / 0.8164 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6921, allocations: 326.8 kB / 0.8167 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.6923, allocations: 67.94 kB / 0.8168 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.6926, allocations: 112.2 kB / 0.8169 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.693, allocations: 176.1 kB / 0.8171 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.693, allocations: 4 kB / 0.8171 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009706/0.694, allocations: 278.1 kB / 0.8173 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.694, allocations: 7.938 kB / 0.8173 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6941, allocations: 4 kB / 0.8173 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.6946, allocations: 84.89 kB / 0.8174 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.6948, allocations: 31.95 kB / 0.8175 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.6969, allocations: 1.662 MB / 0.8191 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.6971, allocations: 23.88 kB / 0.8191 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.6971, allocations: 7.984 kB / 0.8191 GB, free: 2.449 MB / 0.6387 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.0001133/0.6973, allocations: 131.2 kB / 0.8192 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.6973, allocations: 7.906 kB / 0.8192 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.6983, allocations: 318.8 kB / 0.8195 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6983, allocations: 4 kB / 0.8196 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.6984, allocations: 0 / 0.8196 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6984, allocations: 0 / 0.8196 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.6986, allocations: 229.5 kB / 0.8198 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6986, allocations: 8 kB / 0.8198 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.6988, allocations: 35.95 kB / 0.8198 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/0.6993, allocations: 68.72 kB / 0.8199 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.6993, allocations: 11.94 kB / 0.8199 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.7011, allocations: 1.685 MB / 0.8215 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7011, allocations: 0 / 0.8215 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.7021, allocations: 387.2 kB / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.7022, allocations: 85.02 kB / 0.822 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.7022, allocations: 4 kB / 0.822 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.7024, allocations: 15.92 kB / 0.822 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.7025, allocations: 19.97 kB / 0.822 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.7025, allocations: 0 / 0.822 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.224e-05/0.7026, allocations: 109.3 kB / 0.8221 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7026, allocations: 0 / 0.8221 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003234/0.7029, allocations: 47.98 kB / 0.8222 GB, free: 15.07 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 (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.000207/0.7031, allocations: 112.5 kB / 0.8223 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008295/0.704, allocations: 310.5 kB / 0.8226 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.704, allocations: 0 / 0.8226 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.7045, allocations: 234.7 kB / 0.8228 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.7048, allocations: 15.98 kB / 0.8228 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.7056, allocations: 310.9 kB / 0.8231 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.7059, allocations: 0.7085 MB / 0.8238 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.7061, allocations: 20.88 kB / 0.8238 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.7061, allocations: 19.42 kB / 0.8238 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.7062, allocations: 3.938 kB / 0.8238 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.006947/0.7131, allocations: 3.236 MB / 0.827 GB, free: 10.07 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)