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-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_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.0009117/0.0009117, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001003/0.001004, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8799/0.8799, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002762, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 82.32 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002223/0.161, allocations: 1.514 MB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.393/0.5541, allocations: 130.9 MB / 0.7165 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.5543, allocations: 6.25 kB / 0.7165 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.5545, allocations: 18.14 kB / 0.7165 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.5547, allocations: 66.86 kB / 0.7166 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.5554, allocations: 220.9 kB / 0.7168 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.5556, allocations: 155 kB / 0.717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.5558, allocations: 59.86 kB / 0.717 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.5561, allocations: 152.4 kB / 0.7172 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.5562, allocations: 72.59 kB / 0.7172 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.5562, allocations: 6.156 kB / 0.7172 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.5566, allocations: 182.1 kB / 0.7174 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.5567, allocations: 35.72 kB / 0.7175 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.5567, allocations: 52.14 kB / 0.7175 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.557, allocations: 189.4 kB / 0.7177 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.557, allocations: 5.219 kB / 0.7177 GB, free: 13.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.764e-06/0.557, allocations: 0 / 0.7177 GB, free: 13.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.557, allocations: 0 / 0.7177 GB, free: 13.69 MB / 0.545 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.0008314/0.5578, allocations: 499.8 kB / 0.7182 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.5579, allocations: 8.906 kB / 0.7182 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007867/0.5587, allocations: 82.53 kB / 0.7183 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.5589, allocations: 226.2 kB / 0.7185 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.559, allocations: 38.58 kB / 0.7185 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.5591, allocations: 13.56 kB / 0.7185 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.5596, allocations: 270.1 kB / 0.7188 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.5596, allocations: 5.219 kB / 0.7188 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.5596, allocations: 7.109 kB / 0.7188 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.5596, allocations: 4.094 kB / 0.7188 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/0.5601, allocations: 174.6 kB / 0.719 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.5616, allocations: 1.177 MB / 0.7201 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/0.5623, allocations: 224.6 kB / 0.7203 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.5624, allocations: 2.5 kB / 0.7203 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.5624, allocations: 31.84 kB / 0.7204 GB, free: 11.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.5624, allocations: 4 kB / 0.7204 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.002456/0.5648, allocations: 0.6339 MB / 0.721 GB, free: 11.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.5649, allocations: 57.47 kB / 0.721 GB, free: 11.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.5651, allocations: 197 kB / 0.7212 GB, free: 11.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.5652, allocations: 30.67 kB / 0.7212 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.5652, allocations: 137.9 kB / 0.7214 GB, free: 10.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.5653, allocations: 46.48 kB / 0.7214 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/0.5653, allocations: 224 / 0.7214 GB, free: 10.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.5654, allocations: 327.7 kB / 0.7217 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.5656, allocations: 81.84 kB / 0.7218 GB, free: 10.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.5659, allocations: 138.2 kB / 0.7219 GB, free: 10.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.5661, allocations: 89.45 kB / 0.722 GB, free: 10.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5661, allocations: 0 / 0.722 GB, free: 10.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001342/0.5675, allocations: 389 kB / 0.7224 GB, free: 10.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5675, allocations: 5.781 kB / 0.7224 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5675, allocations: 3.188 kB / 0.7224 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009985/0.5685, allocations: 163 kB / 0.7226 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.5687, allocations: 42.05 kB / 0.7226 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/0.5723, allocations: 3.058 MB / 0.7256 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.5726, allocations: 37.8 kB / 0.7256 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.5727, allocations: 9.516 kB / 0.7256 GB, free: 7.438 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.5728, allocations: 135.1 kB / 0.7258 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.5729, allocations: 16.14 kB / 0.7258 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.5741, allocations: 380.9 kB / 0.7261 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5741, allocations: 0 / 0.7261 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.5741, allocations: 1.969 kB / 0.7261 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.5741, allocations: 1.5 kB / 0.7262 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.5745, allocations: 280.7 kB / 0.7264 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5745, allocations: 7.875 kB / 0.7264 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.5746, allocations: 23.86 kB / 0.7264 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009067/0.5755, allocations: 163 kB / 0.7266 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5755, allocations: 5.219 kB / 0.7266 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.5789, allocations: 3.098 MB / 0.7296 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5789, allocations: 0.7812 kB / 0.7296 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.58, allocations: 445.1 kB / 0.7301 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5801, allocations: 107 kB / 0.7302 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.5802, allocations: 6.391 kB / 0.7302 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.5805, allocations: 22.98 kB / 0.7302 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.5805, allocations: 14.86 kB / 0.7302 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.5806, allocations: 8.156 kB / 0.7302 GB, free: 3.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001853/0.5808, allocations: 150.8 kB / 0.7304 GB, free: 3.555 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5808, allocations: 0 / 0.7304 GB, free: 3.555 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004187/0.5812, allocations: 69.09 kB / 0.7304 GB, free: 3.543 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001927/0.5814, allocations: 130.5 kB / 0.7305 GB, free: 3.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009744/0.5824, allocations: 448 kB / 0.731 GB, free: 3.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5824, allocations: 0 / 0.731 GB, free: 3.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.583, allocations: 362.6 kB / 0.7313 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.5834, allocations: 57.77 kB / 0.7314 GB, free: 2.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.5842, allocations: 476.6 kB / 0.7318 GB, free: 2.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.5846, allocations: 0.7357 MB / 0.7325 GB, free: 1.891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.5848, allocations: 44.84 kB / 0.7326 GB, free: 1.867 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.5848, allocations: 23.53 kB / 0.7326 GB, free: 1.855 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5848, allocations: 0 / 0.7326 GB, free: 1.855 MB / 0.545 GB Notification: Performance of Templates: time 0.008472/0.5933, allocations: 4.78 MB / 0.7373 GB, free: 1.344 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: