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.001134/0.001134, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001241/0.001241, allocations: 189 kB / 16.25 MB, free: 6.152 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9864/0.9864, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001259, allocations: 64.52 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1678, allocations: 80.92 MB / 0.5839 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003354/0.1712, allocations: 1.941 MB / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4991/0.6702, allocations: 153.2 MB / 0.7354 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.6705, allocations: 4.812 kB / 0.7354 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.6708, allocations: 18.38 kB / 0.7354 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.6711, allocations: 68.89 kB / 0.7354 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.6722, allocations: 237.1 kB / 0.7357 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.6726, allocations: 257.7 kB / 0.7359 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.6728, allocations: 62.39 kB / 0.736 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.6748, allocations: 250.3 kB / 0.7362 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.675, allocations: 85.98 kB / 0.7363 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.675, allocations: 14.88 kB / 0.7363 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.6755, allocations: 191.8 kB / 0.7365 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.6756, allocations: 47.73 kB / 0.7365 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.6757, allocations: 85.75 kB / 0.7366 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.6761, allocations: 273.4 kB / 0.7369 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6762, allocations: 0.9375 kB / 0.7369 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6762, allocations: 4 kB / 0.7369 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.6762, allocations: 0 / 0.7369 GB, free: 11.82 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.001027/0.6772, allocations: 0.5138 MB / 0.7374 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6773, allocations: 9.594 kB / 0.7374 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.6781, allocations: 87.55 kB / 0.7375 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.6784, allocations: 219.6 kB / 0.7377 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.6785, allocations: 43.5 kB / 0.7377 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.6785, allocations: 18.44 kB / 0.7377 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.6791, allocations: 261.8 kB / 0.738 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.6791, allocations: 0 / 0.738 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.6791, allocations: 6.656 kB / 0.738 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.6791, allocations: 4.344 kB / 0.738 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.6796, allocations: 169.7 kB / 0.7382 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.6815, allocations: 1.174 MB / 0.7393 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.6823, allocations: 199 kB / 0.7395 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.6825, allocations: 69.94 kB / 0.7396 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.6825, allocations: 7.297 kB / 0.7396 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.6825, allocations: 34.56 kB / 0.7396 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.6825, allocations: 0 / 0.7396 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002729/0.6853, allocations: 0.627 MB / 0.7402 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.6853, allocations: 59.34 kB / 0.7403 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.6856, allocations: 194.9 kB / 0.7405 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.6856, allocations: 30.83 kB / 0.7405 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.6857, allocations: 140.9 kB / 0.7406 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.6858, allocations: 45.59 kB / 0.7407 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.6859, allocations: 44.11 kB / 0.7407 GB, free: 9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6861, allocations: 331.7 kB / 0.741 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.6863, allocations: 68.16 kB / 0.7411 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.6866, allocations: 133.1 kB / 0.7412 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.687, allocations: 204.7 kB / 0.7414 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.687, allocations: 0 / 0.7414 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001474/0.6885, allocations: 375.3 kB / 0.7418 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6885, allocations: 8.938 kB / 0.7418 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.6886, allocations: 3.609 kB / 0.7418 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.6897, allocations: 163.3 kB / 0.7419 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.6899, allocations: 43.61 kB / 0.742 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.6942, allocations: 3.243 MB / 0.7452 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.6946, allocations: 36.11 kB / 0.7452 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.6946, allocations: 14.16 kB / 0.7452 GB, free: 5.203 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.0001793/0.6948, allocations: 142.1 kB / 0.7453 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.6949, allocations: 14.97 kB / 0.7454 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.6962, allocations: 372.3 kB / 0.7457 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6963, allocations: 2.625 kB / 0.7457 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.6963, allocations: 0 / 0.7457 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6963, allocations: 2.25 kB / 0.7457 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.6966, allocations: 268.5 kB / 0.746 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6966, allocations: 0 / 0.746 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.6968, allocations: 20.44 kB / 0.746 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/0.6977, allocations: 150 kB / 0.7461 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.6977, allocations: 4.297 kB / 0.7461 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003759/0.7014, allocations: 3.295 MB / 0.7494 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7015, allocations: 0 / 0.7494 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.7029, allocations: 439 kB / 0.7498 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.703, allocations: 104.8 kB / 0.7499 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.703, allocations: 4 kB / 0.7499 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.7033, allocations: 19.08 kB / 0.7499 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.7034, allocations: 18.22 kB / 0.7499 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.7035, allocations: 11.12 kB / 0.7499 GB, free: 1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001741/0.7036, allocations: 147.9 kB / 0.7501 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7036, allocations: 0 / 0.7501 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004571/0.7041, allocations: 80.16 kB / 0.7501 GB, free: 0.8711 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.0002073/0.7043, allocations: 119 kB / 0.7503 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.7054, allocations: 451.5 kB / 0.7507 GB, free: 448 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7055, allocations: 4 kB / 0.7507 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006697/0.7061, allocations: 361.3 kB / 0.751 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.7066, allocations: 57.23 kB / 0.7511 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.7076, allocations: 466.5 kB / 0.7515 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.7079, allocations: 0.7334 MB / 0.7522 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.7081, allocations: 35.41 kB / 0.7523 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.7082, allocations: 21.92 kB / 0.7523 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.7082, allocations: 0 / 0.7523 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of Templates: time 0.009859/0.7181, allocations: 5.231 MB / 0.7574 GB, free: 10.68 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)