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.001047/0.001047, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007193/0.007194, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9715/0.9715, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 8.625 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002105/0.1736, allocations: 1.581 MB / 0.5895 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4672/0.6408, allocations: 151.5 MB / 0.7374 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.641, allocations: 1.375 kB / 0.7374 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.6412, allocations: 23 kB / 0.7375 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.6415, allocations: 64.38 kB / 0.7375 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.6422, allocations: 222.4 kB / 0.7377 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.6425, allocations: 253.3 kB / 0.738 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.6427, allocations: 64.62 kB / 0.738 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.6445, allocations: 206.2 kB / 0.7382 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.6446, allocations: 76.77 kB / 0.7383 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.6447, allocations: 5.5 kB / 0.7383 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.6451, allocations: 176.4 kB / 0.7385 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.6451, allocations: 35.77 kB / 0.7385 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.6453, allocations: 100.4 kB / 0.7386 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.6457, allocations: 262.9 kB / 0.7389 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6457, allocations: 1.156 kB / 0.7389 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6457, allocations: 0 / 0.7389 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6458, allocations: 0 / 0.7389 GB, free: 12.24 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.001011/0.6468, allocations: 492.7 kB / 0.7393 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6468, allocations: 13.94 kB / 0.7393 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009377/0.6478, allocations: 78.34 kB / 0.7394 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.6481, allocations: 221.5 kB / 0.7396 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.6482, allocations: 39.95 kB / 0.7397 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.6482, allocations: 22.53 kB / 0.7397 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.6488, allocations: 268 kB / 0.7399 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.6488, allocations: 5.125 kB / 0.7399 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.6489, allocations: 5.531 kB / 0.7399 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.6489, allocations: 4.844 kB / 0.74 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.6494, allocations: 179.7 kB / 0.7401 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.651, allocations: 1.188 MB / 0.7413 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.6518, allocations: 215.4 kB / 0.7415 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.652, allocations: 74.7 kB / 0.7416 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.652, allocations: 1.562 kB / 0.7416 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.6521, allocations: 41.19 kB / 0.7416 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.6521, allocations: 0 / 0.7416 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002737/0.6548, allocations: 0.6465 MB / 0.7422 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.6549, allocations: 53.28 kB / 0.7423 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.6551, allocations: 202 kB / 0.7425 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.6551, allocations: 27.08 kB / 0.7425 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.6552, allocations: 136.4 kB / 0.7426 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.6553, allocations: 45.75 kB / 0.7427 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.6553, allocations: 22.2 kB / 0.7427 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6554, allocations: 327.2 kB / 0.743 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.6557, allocations: 80.73 kB / 0.7431 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.6559, allocations: 144.6 kB / 0.7432 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.6564, allocations: 208.4 kB / 0.7434 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6564, allocations: 0 / 0.7434 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001436/0.6578, allocations: 389.9 kB / 0.7438 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6579, allocations: 8.828 kB / 0.7438 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.6579, allocations: 1.312 kB / 0.7438 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.6589, allocations: 164.5 kB / 0.744 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.6591, allocations: 41.81 kB / 0.744 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.6628, allocations: 3.029 MB / 0.747 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.6632, allocations: 33.44 kB / 0.747 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.6632, allocations: 13.78 kB / 0.747 GB, free: 5.852 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.0001398/0.6634, allocations: 130.6 kB / 0.7471 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.6634, allocations: 18.45 kB / 0.7471 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.6648, allocations: 386.3 kB / 0.7475 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6648, allocations: 2.75 kB / 0.7475 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.6648, allocations: 3.938 kB / 0.7475 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6648, allocations: 0 / 0.7475 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.6651, allocations: 276.3 kB / 0.7478 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6652, allocations: 0 / 0.7478 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.6653, allocations: 32.14 kB / 0.7478 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009542/0.6663, allocations: 167.9 kB / 0.748 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.6663, allocations: 1.375 kB / 0.748 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003556/0.6699, allocations: 3.084 MB / 0.751 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6699, allocations: 7.875 kB / 0.751 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.6713, allocations: 439.6 kB / 0.7514 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.6715, allocations: 108.8 kB / 0.7515 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.6716, allocations: 3.031 kB / 0.7515 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.6719, allocations: 22.86 kB / 0.7515 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.672, allocations: 20.09 kB / 0.7516 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.672, allocations: 6.688 kB / 0.7516 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002077/0.6722, allocations: 149.9 kB / 0.7517 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6722, allocations: 0 / 0.7517 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005432/0.6728, allocations: 78 kB / 0.7518 GB, free: 1.727 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.0002375/0.673, allocations: 113.2 kB / 0.7519 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.6742, allocations: 457.9 kB / 0.7523 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6743, allocations: 3.938 kB / 0.7523 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006871/0.6749, allocations: 365.6 kB / 0.7527 GB, free: 1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.6754, allocations: 56.7 kB / 0.7527 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009998/0.6764, allocations: 477.1 kB / 0.7532 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.6768, allocations: 0.7258 MB / 0.7539 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002705/0.6771, allocations: 33.94 kB / 0.7539 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.6772, allocations: 26.11 kB / 0.754 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.6772, allocations: 0 / 0.754 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.0099/0.6871, allocations: 4.926 MB / 0.7588 GB, free: 12.62 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)