Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001262/0.001262, allocations: 104.9 kB / 16.41 MB, free: 6.477 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.001406/0.001406, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.513/1.513, 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-master/package.mo): time 0.8556/0.8556, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.22 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.163, allocations: 80.93 MB / 0.6653 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003388/0.1664, allocations: 1.885 MB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4982/0.6646, allocations: 155.8 MB / 0.8194 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.6648, allocations: 2.844 kB / 0.8194 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.6649, allocations: 25.11 kB / 0.8194 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.6652, allocations: 74.22 kB / 0.8195 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.666, allocations: 260.6 kB / 0.8197 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.6663, allocations: 260 kB / 0.82 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.6665, allocations: 47.73 kB / 0.82 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.6681, allocations: 253.2 kB / 0.8203 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.6682, allocations: 86.58 kB / 0.8203 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.6682, allocations: 14.84 kB / 0.8204 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.6686, allocations: 181.2 kB / 0.8205 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.6687, allocations: 48.72 kB / 0.8206 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.207e-05/0.6688, allocations: 88.5 kB / 0.8207 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.6692, allocations: 277.5 kB / 0.8209 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6692, allocations: 0 / 0.8209 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6692, allocations: 0 / 0.8209 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.6692, allocations: 0 / 0.8209 GB, free: 6.645 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.0009753/0.6702, allocations: 0.5258 MB / 0.8214 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6702, allocations: 11.83 kB / 0.8214 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.6711, allocations: 78.61 kB / 0.8215 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.6714, allocations: 224.9 kB / 0.8217 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.6715, allocations: 46.02 kB / 0.8218 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6715, allocations: 22.91 kB / 0.8218 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.6721, allocations: 259.8 kB / 0.822 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6721, allocations: 0 / 0.822 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.6721, allocations: 6.75 kB / 0.8221 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6721, allocations: 7.516 kB / 0.8221 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.6726, allocations: 173.4 kB / 0.8222 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.6743, allocations: 1.175 MB / 0.8234 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.675, allocations: 203.3 kB / 0.8236 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.6752, allocations: 64.06 kB / 0.8236 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.6752, allocations: 3.094 kB / 0.8236 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.6753, allocations: 38.5 kB / 0.8237 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.6753, allocations: 4 kB / 0.8237 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002559/0.6778, allocations: 0.6258 MB / 0.8243 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.6779, allocations: 53.97 kB / 0.8243 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.6781, allocations: 202.6 kB / 0.8245 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.6782, allocations: 25.7 kB / 0.8246 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6783, allocations: 147.9 kB / 0.8247 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.6783, allocations: 48.61 kB / 0.8247 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.6784, allocations: 45.28 kB / 0.8248 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.6786, allocations: 325.6 kB / 0.8251 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.6788, allocations: 72.88 kB / 0.8252 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.6791, allocations: 130 kB / 0.8253 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.6795, allocations: 199.8 kB / 0.8255 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6795, allocations: 0 / 0.8255 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001405/0.6809, allocations: 375.4 kB / 0.8258 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6809, allocations: 4.594 kB / 0.8258 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6809, allocations: 2.812 kB / 0.8258 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.682, allocations: 165.3 kB / 0.826 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.6822, allocations: 37.09 kB / 0.826 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.6865, allocations: 3.255 MB / 0.8292 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.6869, allocations: 36.62 kB / 0.8293 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.6869, allocations: 7.781 kB / 0.8293 GB, free: 15.21 MB / 0.6075 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.0001592/0.687, allocations: 141.4 kB / 0.8294 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.6871, allocations: 19.55 kB / 0.8294 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.6884, allocations: 368.9 kB / 0.8298 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6884, allocations: 2.594 kB / 0.8298 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.6884, allocations: 0 / 0.8298 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6884, allocations: 0 / 0.8298 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.6888, allocations: 273.1 kB / 0.83 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6888, allocations: 0 / 0.83 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.6889, allocations: 19.14 kB / 0.83 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007822/0.6897, allocations: 152.1 kB / 0.8302 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6897, allocations: 2.562 kB / 0.8302 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/0.6936, allocations: 3.299 MB / 0.8334 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6936, allocations: 0 / 0.8334 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.6948, allocations: 438.9 kB / 0.8338 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.6949, allocations: 108.5 kB / 0.8339 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.695, allocations: 2.125 kB / 0.8339 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.6952, allocations: 23.86 kB / 0.834 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.6953, allocations: 19.66 kB / 0.834 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.6953, allocations: 4.875 kB / 0.834 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001874/0.6955, allocations: 144.4 kB / 0.8341 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6955, allocations: 2.469 kB / 0.8341 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004187/0.6959, allocations: 72.05 kB / 0.8342 GB, free: 10.7 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.0001848/0.6961, allocations: 116.4 kB / 0.8343 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.6972, allocations: 443.5 kB / 0.8347 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6972, allocations: 3.938 kB / 0.8347 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.6979, allocations: 347.6 kB / 0.8351 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.6983, allocations: 60.14 kB / 0.8351 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.6993, allocations: 440.9 kB / 0.8355 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.6997, allocations: 0.73 MB / 0.8363 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.6998, allocations: 28.05 kB / 0.8363 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.6998, allocations: 0 / 0.8363 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of Templates: time 0.006934/0.7067, allocations: 4.436 MB / 0.8406 GB, free: 6.555 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)