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/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_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.001419/0.00142, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001104/0.001105, allocations: 191 kB / 17.29 MB, free: 5.516 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8014/0.8014, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.09 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 80.19 MB / 0.5815 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003814/0.3721, allocations: 1.868 MB / 0.5833 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1616/0.5338, allocations: 155.4 MB / 0.7351 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.534, allocations: 4 kB / 0.7351 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.5342, allocations: 27.67 kB / 0.7351 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.5345, allocations: 75.47 kB / 0.7352 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.5352, allocations: 259.1 kB / 0.7354 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.5355, allocations: 259.3 kB / 0.7357 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.5357, allocations: 64.03 kB / 0.7357 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.5369, allocations: 253.5 kB / 0.736 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.537, allocations: 95.53 kB / 0.7361 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.537, allocations: 16 kB / 0.7361 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.5374, allocations: 183.7 kB / 0.7363 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.5375, allocations: 39.84 kB / 0.7363 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.5376, allocations: 87.58 kB / 0.7364 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.5379, allocations: 279 kB / 0.7367 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.538, allocations: 0 / 0.7367 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.538, allocations: 0 / 0.7367 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.538, allocations: 4 kB / 0.7367 GB, free: 14.82 MB / 0.5762 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.0008779/0.5389, allocations: 0.5106 MB / 0.7372 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.5389, allocations: 8.031 kB / 0.7372 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/0.5398, allocations: 83.72 kB / 0.7372 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.54, allocations: 222.7 kB / 0.7375 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.5401, allocations: 45.97 kB / 0.7375 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.5402, allocations: 16 kB / 0.7375 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.5407, allocations: 262.5 kB / 0.7378 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5407, allocations: 4 kB / 0.7378 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.5407, allocations: 8 kB / 0.7378 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5407, allocations: 4 kB / 0.7378 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.5412, allocations: 171.7 kB / 0.7379 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.5428, allocations: 1.173 MB / 0.7391 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007547/0.5435, allocations: 206.7 kB / 0.7393 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.5437, allocations: 76.75 kB / 0.7394 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.5438, allocations: 0 / 0.7394 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.5438, allocations: 30.56 kB / 0.7394 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.5438, allocations: 4 kB / 0.7394 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002646/0.5465, allocations: 0.6297 MB / 0.74 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.5465, allocations: 55.39 kB / 0.7401 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.5468, allocations: 203.4 kB / 0.7403 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.5468, allocations: 29.7 kB / 0.7403 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.5469, allocations: 131.6 kB / 0.7404 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.547, allocations: 43.36 kB / 0.7405 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.547, allocations: 45.69 kB / 0.7405 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5472, allocations: 334.8 kB / 0.7408 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.5474, allocations: 67.95 kB / 0.7409 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.5477, allocations: 132.7 kB / 0.741 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.5481, allocations: 202 kB / 0.7412 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5481, allocations: 0 / 0.7412 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001401/0.5495, allocations: 374.6 kB / 0.7416 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5495, allocations: 11.94 kB / 0.7416 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5495, allocations: 0 / 0.7416 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.5506, allocations: 161.8 kB / 0.7417 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.5508, allocations: 35.97 kB / 0.7418 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.5549, allocations: 3.251 MB / 0.7449 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.5553, allocations: 35.7 kB / 0.745 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.5554, allocations: 15.98 kB / 0.745 GB, free: 5.617 MB / 0.5762 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.0001586/0.5555, allocations: 134.9 kB / 0.7451 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.5556, allocations: 15.81 kB / 0.7451 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.5569, allocations: 368.3 kB / 0.7455 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5569, allocations: 0 / 0.7455 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5569, allocations: 3.984 kB / 0.7455 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5569, allocations: 0 / 0.7455 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.5572, allocations: 273.3 kB / 0.7457 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.5572, allocations: 0 / 0.7457 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.5573, allocations: 27.86 kB / 0.7458 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007956/0.5582, allocations: 145.6 kB / 0.7459 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.5582, allocations: 3.984 kB / 0.7459 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.5618, allocations: 3.296 MB / 0.7491 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5618, allocations: 0 / 0.7491 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.563, allocations: 430.6 kB / 0.7495 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.5632, allocations: 108.9 kB / 0.7496 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.5632, allocations: 3.938 kB / 0.7496 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.5635, allocations: 19.98 kB / 0.7497 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.5636, allocations: 19.97 kB / 0.7497 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.5636, allocations: 7.938 kB / 0.7497 GB, free: 400 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001691/0.5638, allocations: 152.2 kB / 0.7498 GB, free: 248 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5638, allocations: 0 / 0.7498 GB, free: 248 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000414/0.5643, allocations: 71.94 kB / 0.7499 GB, free: 176 kB / 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 (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.0001894/0.5644, allocations: 115.2 kB / 0.75 GB, free: 52 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2814/0.8458, allocations: 439.1 kB / 0.7504 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.8459, allocations: 0.5 kB / 0.7504 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006822/0.8466, allocations: 358.4 kB / 0.7508 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.8471, allocations: 63.02 kB / 0.7508 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.8482, allocations: 412 kB / 0.7512 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.8485, allocations: 0.7319 MB / 0.7519 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.8487, allocations: 35.09 kB / 0.752 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.8487, allocations: 20.8 kB / 0.752 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.8487, allocations: 0 / 0.752 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01143/0.8602, allocations: 5.309 MB / 0.7572 GB, free: 165.1 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)