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.001181/0.00118, allocations: 108 kB / 15.61 MB, free: 152 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.001353/0.001353, allocations: 195 kB / 16.53 MB, free: 6.664 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.141/1.141, allocations: 135.2 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.86 kB / 0.5054 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.183, allocations: 80.92 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.0034/0.1865, allocations: 1.881 MB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4869/0.6734, allocations: 155.4 MB / 0.738 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.6736, allocations: 6.406 kB / 0.738 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.6738, allocations: 19.45 kB / 0.738 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.6743, allocations: 74.97 kB / 0.7381 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.6752, allocations: 260 kB / 0.7383 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.6756, allocations: 256.9 kB / 0.7386 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.6758, allocations: 69.67 kB / 0.7387 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.677, allocations: 232.7 kB / 0.7389 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.6772, allocations: 93.31 kB / 0.739 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.6773, allocations: 14.38 kB / 0.739 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.6777, allocations: 187.8 kB / 0.7392 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.6778, allocations: 37.83 kB / 0.7392 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.6779, allocations: 96.78 kB / 0.7393 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.6785, allocations: 267.8 kB / 0.7395 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6785, allocations: 0 / 0.7395 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6786, allocations: 3.938 kB / 0.7395 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.6786, allocations: 0 / 0.7395 GB, free: 10.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.001104/0.6797, allocations: 0.5036 MB / 0.74 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.6797, allocations: 7.375 kB / 0.74 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.6807, allocations: 93.38 kB / 0.7401 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.6811, allocations: 223.2 kB / 0.7403 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.6812, allocations: 41.78 kB / 0.7404 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.6812, allocations: 18.16 kB / 0.7404 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.6819, allocations: 263.8 kB / 0.7407 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6819, allocations: 0 / 0.7407 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.6819, allocations: 8.031 kB / 0.7407 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.682, allocations: 4.25 kB / 0.7407 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.6825, allocations: 171.4 kB / 0.7408 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.6846, allocations: 1.175 MB / 0.742 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007883/0.6854, allocations: 206.9 kB / 0.7422 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.6856, allocations: 75.75 kB / 0.7422 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.6857, allocations: 13.52 kB / 0.7423 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.6857, allocations: 32.19 kB / 0.7423 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.6857, allocations: 0 / 0.7423 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002861/0.6886, allocations: 0.6232 MB / 0.7429 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.6886, allocations: 57.5 kB / 0.743 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.689, allocations: 195.1 kB / 0.7431 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.6891, allocations: 30.27 kB / 0.7432 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6892, allocations: 140.1 kB / 0.7433 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.6893, allocations: 41.39 kB / 0.7433 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.6894, allocations: 44 kB / 0.7434 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6896, allocations: 330.6 kB / 0.7437 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.6898, allocations: 71.81 kB / 0.7438 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.6901, allocations: 138 kB / 0.7439 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.6905, allocations: 205.6 kB / 0.7441 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6906, allocations: 0 / 0.7441 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001524/0.6921, allocations: 375.6 kB / 0.7445 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.6921, allocations: 9.156 kB / 0.7445 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6921, allocations: 1.844 kB / 0.7445 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.6933, allocations: 161.2 kB / 0.7446 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.6935, allocations: 38.03 kB / 0.7447 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/0.6978, allocations: 3.245 MB / 0.7478 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.6982, allocations: 44.11 kB / 0.7479 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.6983, allocations: 5.125 kB / 0.7479 GB, free: 2.895 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.0001858/0.6985, allocations: 138.1 kB / 0.748 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.6985, allocations: 21.81 kB / 0.748 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6999, allocations: 367.4 kB / 0.7484 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6999, allocations: 1.75 kB / 0.7484 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.7, allocations: 1.5 kB / 0.7484 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.7, allocations: 11.91 kB / 0.7484 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.7003, allocations: 268.2 kB / 0.7486 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7004, allocations: 2.062 kB / 0.7486 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.7005, allocations: 24.7 kB / 0.7487 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008371/0.7013, allocations: 145.4 kB / 0.7488 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.7014, allocations: 0 / 0.7488 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/0.7052, allocations: 3.304 MB / 0.752 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7053, allocations: 0 / 0.752 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.7065, allocations: 430.4 kB / 0.7524 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.7067, allocations: 109.2 kB / 0.7525 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.7068, allocations: 6.344 kB / 0.7526 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.7071, allocations: 27.61 kB / 0.7526 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.7072, allocations: 15.91 kB / 0.7526 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.7072, allocations: 6.656 kB / 0.7526 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001721/0.7074, allocations: 151.5 kB / 0.7527 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7074, allocations: 0 / 0.7527 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004311/0.7078, allocations: 69.75 kB / 0.7528 GB, free: 14.38 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 (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.0002041/0.708, allocations: 115 kB / 0.7529 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.7091, allocations: 450.5 kB / 0.7534 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7091, allocations: 0 / 0.7534 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.7098, allocations: 369.4 kB / 0.7537 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.7102, allocations: 51.14 kB / 0.7538 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.7112, allocations: 411.2 kB / 0.7541 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.7115, allocations: 0.7371 MB / 0.7549 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000211/0.7117, allocations: 39.47 kB / 0.7549 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.7118, allocations: 21.27 kB / 0.7549 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.7118, allocations: 0 / 0.7549 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01006/0.7218, allocations: 5.297 MB / 0.7601 GB, free: 8.016 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)