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.001261/0.001262, allocations: 102.4 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.001434/0.001434, 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.357/1.357, 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.792/0.792, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3619, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002747/0.3647, allocations: 1.875 MB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1724/0.537, allocations: 155.4 MB / 0.7351 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.5373, allocations: 4 kB / 0.7351 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.5375, allocations: 23.73 kB / 0.7351 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.5378, allocations: 87.34 kB / 0.7352 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.5385, allocations: 254.8 kB / 0.7354 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.5388, allocations: 255.2 kB / 0.7357 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.5389, allocations: 70.92 kB / 0.7357 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.5401, allocations: 247.8 kB / 0.736 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.5403, allocations: 87.67 kB / 0.7361 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.5403, allocations: 19.94 kB / 0.7361 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.5406, allocations: 183.7 kB / 0.7363 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.5407, allocations: 47.81 kB / 0.7363 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.5408, allocations: 83.59 kB / 0.7364 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.5412, allocations: 275 kB / 0.7367 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5412, allocations: 0 / 0.7367 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5412, allocations: 3.938 kB / 0.7367 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.5412, allocations: 0 / 0.7367 GB, free: 14.85 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.0008819/0.5421, allocations: 0.5106 MB / 0.7372 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.5421, allocations: 8.031 kB / 0.7372 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000838/0.543, allocations: 87.7 kB / 0.7372 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.5433, allocations: 225.8 kB / 0.7375 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.5434, allocations: 41.97 kB / 0.7375 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.5434, allocations: 24 kB / 0.7375 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.5439, allocations: 258.5 kB / 0.7378 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.544, allocations: 4 kB / 0.7378 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.544, allocations: 8 kB / 0.7378 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.544, allocations: 4 kB / 0.7378 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.5445, allocations: 167.7 kB / 0.7379 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.5462, allocations: 1.184 MB / 0.7391 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.5469, allocations: 202.7 kB / 0.7393 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.5471, allocations: 72.81 kB / 0.7394 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.5471, allocations: 3.938 kB / 0.7394 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.5471, allocations: 34.56 kB / 0.7394 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.5472, allocations: 0 / 0.7394 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002532/0.5497, allocations: 0.6297 MB / 0.74 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.5497, allocations: 51.41 kB / 0.7401 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.55, allocations: 203.4 kB / 0.7403 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.55, allocations: 25.7 kB / 0.7403 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.5501, allocations: 139.6 kB / 0.7404 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.5502, allocations: 47.34 kB / 0.7405 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.5503, allocations: 45.69 kB / 0.7405 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5504, allocations: 330.8 kB / 0.7408 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.5506, allocations: 67.94 kB / 0.7409 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.5508, allocations: 133.2 kB / 0.741 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.5512, allocations: 198.7 kB / 0.7412 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5513, allocations: 0 / 0.7412 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001352/0.5526, allocations: 374.6 kB / 0.7416 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5526, allocations: 4 kB / 0.7416 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5527, allocations: 7.938 kB / 0.7416 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.5537, allocations: 161.8 kB / 0.7417 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.5539, allocations: 39.97 kB / 0.7418 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.5579, allocations: 3.244 MB / 0.7449 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.5583, allocations: 39.7 kB / 0.745 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.5583, allocations: 8 kB / 0.745 GB, free: 5.648 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.0001636/0.5585, allocations: 141.8 kB / 0.7451 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.5586, allocations: 15.81 kB / 0.7451 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.5598, allocations: 360.3 kB / 0.7455 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.5598, allocations: 4.188 kB / 0.7455 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5598, allocations: 0 / 0.7455 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.5599, allocations: 11.91 kB / 0.7455 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.5602, allocations: 273.4 kB / 0.7457 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5602, allocations: 0 / 0.7457 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.5603, allocations: 27.86 kB / 0.7458 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/0.5611, allocations: 141.6 kB / 0.7459 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.5611, allocations: 4 kB / 0.7459 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.5646, allocations: 3.293 MB / 0.7491 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5646, allocations: 3.938 kB / 0.7491 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.5658, allocations: 434.4 kB / 0.7495 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.5659, allocations: 104.9 kB / 0.7496 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.566, allocations: 7.938 kB / 0.7497 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.5662, allocations: 11.98 kB / 0.7497 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.5663, allocations: 23.97 kB / 0.7497 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.5664, allocations: 4 kB / 0.7497 GB, free: 428 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001785/0.5665, allocations: 152.1 kB / 0.7498 GB, free: 276 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5665, allocations: 4 kB / 0.7498 GB, free: 272 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004187/0.567, allocations: 71.94 kB / 0.7499 GB, free: 200 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.0001848/0.5672, allocations: 115.2 kB / 0.75 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2706/0.8378, allocations: 442.1 kB / 0.7504 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8378, allocations: 1.406 kB / 0.7504 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.8386, allocations: 360.3 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.0004807/0.8391, allocations: 55.55 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.001047/0.8401, allocations: 402.7 kB / 0.7512 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.8403, allocations: 0.7329 MB / 0.7519 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.8405, allocations: 40.94 kB / 0.752 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.8406, allocations: 20.89 kB / 0.752 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.8406, allocations: 2.312 kB / 0.752 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.012/0.8526, allocations: 5.304 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)