Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001651/0.001652, allocations: 104.3 kB / 15.99 MB, free: 6.355 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.001933/0.001933, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.254/1.254, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7358/0.7358, allocations: 132.2 MB / 422.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 64.08 kB / 0.5019 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.344, allocations: 80.19 MB / 0.5802 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002536/0.3466, allocations: 1.699 MB / 0.5819 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.143/0.4896, allocations: 147.5 MB / 0.7259 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.4898, allocations: 0 / 0.7259 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.4901, allocations: 19.86 kB / 0.726 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.4904, allocations: 47.69 kB / 0.726 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.4909, allocations: 163.5 kB / 0.7262 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.4911, allocations: 147.6 kB / 0.7263 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.4913, allocations: 33.94 kB / 0.7263 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.4932, allocations: 181.5 kB / 0.7265 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.4933, allocations: 59.8 kB / 0.7266 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.4933, allocations: 8 kB / 0.7266 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.4936, allocations: 167.8 kB / 0.7267 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.4937, allocations: 19.92 kB / 0.7268 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.4938, allocations: 63.66 kB / 0.7268 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.494, allocations: 135.8 kB / 0.7269 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.494, allocations: 0 / 0.7269 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.494, allocations: 0 / 0.7269 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4941, allocations: 0 / 0.7269 GB, free: 7.824 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008759/0.4949, allocations: 463 kB / 0.7274 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.495, allocations: 12.03 kB / 0.7274 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006501/0.4956, allocations: 52.69 kB / 0.7275 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.4959, allocations: 214.3 kB / 0.7277 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.4959, allocations: 11.94 kB / 0.7277 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.4959, allocations: 8 kB / 0.7277 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.4964, allocations: 180.9 kB / 0.7278 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4964, allocations: 4 kB / 0.7279 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.4964, allocations: 4 kB / 0.7279 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4964, allocations: 4 kB / 0.7279 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.4969, allocations: 139.8 kB / 0.728 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.498, allocations: 0.832 MB / 0.7288 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.4984, allocations: 130.4 kB / 0.7289 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.4987, allocations: 84.8 kB / 0.729 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.4987, allocations: 0 / 0.729 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4988, allocations: 30.56 kB / 0.729 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4988, allocations: 0 / 0.729 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001891/0.5007, allocations: 463.3 kB / 0.7295 GB, free: 5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.5007, allocations: 55.41 kB / 0.7295 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.5008, allocations: 145.8 kB / 0.7297 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.5009, allocations: 29.7 kB / 0.7297 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.5009, allocations: 107.9 kB / 0.7298 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.501, allocations: 31.55 kB / 0.7298 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.501, allocations: 25.7 kB / 0.7299 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5011, allocations: 322.8 kB / 0.7302 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.5014, allocations: 71.88 kB / 0.7302 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.5016, allocations: 108.2 kB / 0.7303 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.5021, allocations: 176.4 kB / 0.7305 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5021, allocations: 4 kB / 0.7305 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009989/0.5031, allocations: 282.1 kB / 0.7308 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5031, allocations: 7.938 kB / 0.7308 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5032, allocations: 3.984 kB / 0.7308 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.5037, allocations: 88.89 kB / 0.7309 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.504, allocations: 31.91 kB / 0.7309 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.506, allocations: 1.663 MB / 0.7325 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.5062, allocations: 23.92 kB / 0.7326 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.5063, allocations: 7.984 kB / 0.7326 GB, free: 1.613 MB / 0.5606 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.0001132/0.5064, allocations: 121.7 kB / 0.7327 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.5064, allocations: 11.91 kB / 0.7327 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.5075, allocations: 318.8 kB / 0.733 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5075, allocations: 0 / 0.733 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.5075, allocations: 0 / 0.733 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5075, allocations: 8 kB / 0.733 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.5078, allocations: 229.5 kB / 0.7332 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5078, allocations: 0 / 0.7332 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.508, allocations: 31.97 kB / 0.7332 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.5085, allocations: 72.78 kB / 0.7333 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.5085, allocations: 11.92 kB / 0.7333 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.5103, allocations: 1.693 MB / 0.735 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5103, allocations: 0 / 0.735 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.5113, allocations: 376 kB / 0.7353 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.5114, allocations: 84.95 kB / 0.7354 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.5114, allocations: 12 kB / 0.7354 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.5116, allocations: 19.91 kB / 0.7355 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.5117, allocations: 19.86 kB / 0.7355 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.5117, allocations: 4 kB / 0.7355 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.5118, allocations: 107.2 kB / 0.7356 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5118, allocations: 0 / 0.7356 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000327/0.5122, allocations: 44 kB / 0.7356 GB, free: 14.22 MB / 0.5762 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.0001984/0.5124, allocations: 119.2 kB / 0.7357 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008603/0.5132, allocations: 306.7 kB / 0.736 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5132, allocations: 0 / 0.736 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.5138, allocations: 245.6 kB / 0.7363 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.5141, allocations: 18.94 kB / 0.7363 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.5151, allocations: 361.2 kB / 0.7366 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.5155, allocations: 0.7122 MB / 0.7373 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.5156, allocations: 19.42 kB / 0.7373 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5156, allocations: 0 / 0.7373 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of Templates: time 0.005619/0.5212, allocations: 2.733 MB / 0.74 GB, free: 9.641 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)