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.001109/0.001109, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 197.6 kB / 16.54 MB, free: 6.672 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7335/0.7335, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 64.02 kB / 0.5018 GB, free: 8.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1586, allocations: 80.21 MB / 0.5801 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00356/0.1622, allocations: 1.862 MB / 0.5819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4212/0.5834, allocations: 155.4 MB / 0.7337 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.5836, allocations: 1.375 kB / 0.7337 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.5838, allocations: 29.91 kB / 0.7337 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.5841, allocations: 69.81 kB / 0.7338 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.5848, allocations: 264 kB / 0.734 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.5851, allocations: 254.8 kB / 0.7343 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.5853, allocations: 67.64 kB / 0.7343 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.5865, allocations: 240.2 kB / 0.7346 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.5867, allocations: 87.47 kB / 0.7347 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.5867, allocations: 15.34 kB / 0.7347 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.5871, allocations: 183.1 kB / 0.7348 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.5872, allocations: 43.17 kB / 0.7349 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.5873, allocations: 88.42 kB / 0.735 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.5877, allocations: 280 kB / 0.7352 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5877, allocations: 0 / 0.7352 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5877, allocations: 0 / 0.7352 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5877, allocations: 0 / 0.7352 GB, free: 15.2 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.0008884/0.5886, allocations: 0.5131 MB / 0.7357 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5887, allocations: 9.719 kB / 0.7357 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.5895, allocations: 82.41 kB / 0.7358 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.5897, allocations: 219.1 kB / 0.736 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.5898, allocations: 41.41 kB / 0.7361 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.5899, allocations: 19.47 kB / 0.7361 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.5904, allocations: 265.1 kB / 0.7363 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.5904, allocations: 0 / 0.7363 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.5904, allocations: 7 kB / 0.7364 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5904, allocations: 4.406 kB / 0.7364 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.5909, allocations: 172.6 kB / 0.7365 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.5924, allocations: 1.172 MB / 0.7377 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/0.5931, allocations: 205.2 kB / 0.7379 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.5933, allocations: 80.75 kB / 0.7379 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.5934, allocations: 9.109 kB / 0.7379 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.5934, allocations: 31.75 kB / 0.738 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5934, allocations: 0 / 0.738 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002575/0.596, allocations: 0.6252 MB / 0.7386 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.596, allocations: 54.22 kB / 0.7386 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.5962, allocations: 199.8 kB / 0.7388 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.5963, allocations: 31.77 kB / 0.7389 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.5963, allocations: 134.1 kB / 0.739 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.5964, allocations: 41.72 kB / 0.739 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.5965, allocations: 45.53 kB / 0.7391 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.5966, allocations: 330.6 kB / 0.7394 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.5968, allocations: 69.78 kB / 0.7395 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.597, allocations: 139.3 kB / 0.7396 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.5974, allocations: 203.2 kB / 0.7398 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5975, allocations: 3.5 kB / 0.7398 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001399/0.5989, allocations: 373 kB / 0.7401 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5989, allocations: 9.266 kB / 0.7401 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.5989, allocations: 6.547 kB / 0.7402 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.5999, allocations: 157.6 kB / 0.7403 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.6002, allocations: 38.27 kB / 0.7403 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/0.6041, allocations: 3.256 MB / 0.7435 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.6044, allocations: 35.19 kB / 0.7436 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.6045, allocations: 13.66 kB / 0.7436 GB, free: 8.293 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.0001392/0.6046, allocations: 134.6 kB / 0.7437 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.6047, allocations: 17.69 kB / 0.7437 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.606, allocations: 372.3 kB / 0.7441 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.606, allocations: 1.125 kB / 0.7441 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.606, allocations: 0.5312 kB / 0.7441 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.606, allocations: 0.9688 kB / 0.7441 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.6064, allocations: 274.1 kB / 0.7443 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6064, allocations: 4 kB / 0.7443 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.6065, allocations: 22.45 kB / 0.7444 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008233/0.6073, allocations: 148.1 kB / 0.7445 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.6074, allocations: 1.438 kB / 0.7445 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/0.6109, allocations: 3.306 MB / 0.7477 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6109, allocations: 0 / 0.7477 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.6121, allocations: 430.3 kB / 0.7481 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.6122, allocations: 105.1 kB / 0.7482 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.6123, allocations: 5.375 kB / 0.7482 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.6126, allocations: 26.73 kB / 0.7483 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.6127, allocations: 12.23 kB / 0.7483 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.6127, allocations: 12.11 kB / 0.7483 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001645/0.6129, allocations: 145.7 kB / 0.7484 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6129, allocations: 0 / 0.7484 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004189/0.6133, allocations: 73.69 kB / 0.7485 GB, free: 3.781 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.0001816/0.6135, allocations: 114.5 kB / 0.7486 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.6145, allocations: 453.4 kB / 0.749 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6145, allocations: 0 / 0.749 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000661/0.6152, allocations: 362.4 kB / 0.7494 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.6156, allocations: 57.08 kB / 0.7494 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.6167, allocations: 406.5 kB / 0.7498 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.6171, allocations: 0.7315 MB / 0.7505 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.6173, allocations: 39.36 kB / 0.7506 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.6174, allocations: 17.19 kB / 0.7506 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.6174, allocations: 3.938 kB / 0.7506 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of Templates: time 0.01068/0.6281, allocations: 5.288 MB / 0.7558 GB, free: 14.14 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)