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.005267/0.005267, allocations: 101 kB / 15.87 MB, free: 5.871 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.00121/0.00121, allocations: 192.1 kB / 16.79 MB, free: 5.816 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.29/1.29, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8778/0.8778, allocations: 135.1 MB / 425.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 64.88 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1506, allocations: 80.93 MB / 0.5843 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003068/0.1537, allocations: 1.93 MB / 0.5862 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3853/0.5391, allocations: 153.1 MB / 0.7358 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.5393, allocations: 5.219 kB / 0.7358 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.5395, allocations: 14.45 kB / 0.7358 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.5398, allocations: 68.19 kB / 0.7358 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.5405, allocations: 221.1 kB / 0.7361 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.5408, allocations: 246.3 kB / 0.7363 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.5409, allocations: 70.47 kB / 0.7364 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.5428, allocations: 226.1 kB / 0.7366 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.543, allocations: 88.03 kB / 0.7367 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.543, allocations: 9.125 kB / 0.7367 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.5434, allocations: 187 kB / 0.7368 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.5434, allocations: 31.41 kB / 0.7369 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.5436, allocations: 86.86 kB / 0.737 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.5438, allocations: 191.2 kB / 0.7371 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.5438, allocations: 0 / 0.7371 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.22e-07/0.5438, allocations: 4 kB / 0.7371 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.5439, allocations: 0 / 0.7371 GB, free: 12.29 MB / 0.5606 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.000909/0.5448, allocations: 0.5064 MB / 0.7376 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.5448, allocations: 9.781 kB / 0.7376 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008559/0.5457, allocations: 85.23 kB / 0.7377 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.5459, allocations: 221.5 kB / 0.7379 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.546, allocations: 42.25 kB / 0.738 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.546, allocations: 23 kB / 0.738 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.5466, allocations: 260.5 kB / 0.7382 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5466, allocations: 5.125 kB / 0.7383 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.5466, allocations: 6.25 kB / 0.7383 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5466, allocations: 4.594 kB / 0.7383 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.5471, allocations: 160.5 kB / 0.7384 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.5487, allocations: 1.187 MB / 0.7396 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.5495, allocations: 201.6 kB / 0.7398 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.5496, allocations: 75.66 kB / 0.7398 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.5497, allocations: 0 / 0.7398 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5497, allocations: 40.19 kB / 0.7399 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.5497, allocations: 1.594 kB / 0.7399 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002713/0.5524, allocations: 0.6228 MB / 0.7405 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.5525, allocations: 53 kB / 0.7405 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.5527, allocations: 198.9 kB / 0.7407 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5527, allocations: 32.64 kB / 0.7408 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.5528, allocations: 139.5 kB / 0.7409 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.5529, allocations: 52.81 kB / 0.7409 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.553, allocations: 43.97 kB / 0.741 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5531, allocations: 328.6 kB / 0.7413 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.5533, allocations: 70.5 kB / 0.7414 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.5536, allocations: 132.4 kB / 0.7415 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.554, allocations: 197.1 kB / 0.7417 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.554, allocations: 1.344 kB / 0.7417 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001476/0.5555, allocations: 371 kB / 0.742 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5555, allocations: 5.688 kB / 0.742 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5555, allocations: 7.156 kB / 0.742 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.5567, allocations: 157.2 kB / 0.7422 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.5569, allocations: 42.81 kB / 0.7422 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.5608, allocations: 3.029 MB / 0.7452 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.5612, allocations: 30.95 kB / 0.7452 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.5613, allocations: 9.484 kB / 0.7452 GB, free: 5.512 MB / 0.5606 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.0001505/0.5614, allocations: 134.8 kB / 0.7454 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.5615, allocations: 16.06 kB / 0.7454 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.5629, allocations: 376.7 kB / 0.7457 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5629, allocations: 2.156 kB / 0.7457 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.5629, allocations: 1.094 kB / 0.7457 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5629, allocations: 192 / 0.7457 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.5632, allocations: 286.5 kB / 0.746 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5632, allocations: 0.875 kB / 0.746 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.5634, allocations: 21.05 kB / 0.746 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.5644, allocations: 164.4 kB / 0.7462 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.5644, allocations: 5.406 kB / 0.7462 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/0.568, allocations: 3.073 MB / 0.7492 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.568, allocations: 0 / 0.7492 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.5693, allocations: 437.9 kB / 0.7496 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5694, allocations: 107 kB / 0.7497 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.5694, allocations: 7.938 kB / 0.7497 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.5697, allocations: 17.33 kB / 0.7497 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.5698, allocations: 19.84 kB / 0.7498 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.5698, allocations: 5.188 kB / 0.7498 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001702/0.57, allocations: 146.4 kB / 0.7499 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.57, allocations: 0 / 0.7499 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004189/0.5705, allocations: 76.25 kB / 0.75 GB, free: 1.207 MB / 0.5606 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.0001693/0.5706, allocations: 121.9 kB / 0.7501 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009998/0.5716, allocations: 441.1 kB / 0.7505 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5717, allocations: 0 / 0.7505 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.5723, allocations: 354.5 kB / 0.7509 GB, free: 496 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.5728, allocations: 51.73 kB / 0.7509 GB, free: 468 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.5737, allocations: 0.4888 MB / 0.7514 GB, free: 100 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.574, allocations: 0.7305 MB / 0.7521 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.5741, allocations: 21.48 kB / 0.7521 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5741, allocations: 0 / 0.7521 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of Templates: time 0.006582/0.5807, allocations: 4.416 MB / 0.7564 GB, free: 12.2 MB / 0.5762 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)