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.008619/0.008619, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001943/0.001943, allocations: 196.1 kB / 16.67 MB, free: 5.969 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9754/0.9754, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 68.14 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5106, allocations: 80.91 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002803/0.5135, allocations: 1.887 MB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1833/0.6968, allocations: 155.4 MB / 0.8182 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.697, allocations: 0 / 0.8182 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.6973, allocations: 27.73 kB / 0.8183 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.6976, allocations: 75.38 kB / 0.8183 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007862/0.6984, allocations: 254.1 kB / 0.8186 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.6987, allocations: 263.1 kB / 0.8188 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.6989, allocations: 68.11 kB / 0.8189 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.7002, allocations: 239.5 kB / 0.8191 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.7004, allocations: 95.61 kB / 0.8192 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.7004, allocations: 12 kB / 0.8192 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.7008, allocations: 183.7 kB / 0.8194 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.7009, allocations: 47.88 kB / 0.8194 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.701, allocations: 87.59 kB / 0.8195 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.7015, allocations: 278.4 kB / 0.8198 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.7015, allocations: 0 / 0.8198 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7015, allocations: 0 / 0.8198 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7015, allocations: 0 / 0.8198 GB, free: 2.211 MB / 0.6387 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.0009679/0.7025, allocations: 0.5219 MB / 0.8203 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.7025, allocations: 12.03 kB / 0.8203 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008373/0.7034, allocations: 79.83 kB / 0.8204 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.7037, allocations: 226.7 kB / 0.8206 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.7038, allocations: 45.95 kB / 0.8207 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.7038, allocations: 16 kB / 0.8207 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.7043, allocations: 254.6 kB / 0.8209 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.7044, allocations: 3.984 kB / 0.8209 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.7044, allocations: 12 kB / 0.8209 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.7044, allocations: 8 kB / 0.8209 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.7049, allocations: 163.8 kB / 0.8211 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.7065, allocations: 1.173 MB / 0.8222 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.7073, allocations: 218.6 kB / 0.8224 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.7074, allocations: 68.77 kB / 0.8225 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.7075, allocations: 7.984 kB / 0.8225 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.7075, allocations: 30.56 kB / 0.8225 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.7075, allocations: 3.938 kB / 0.8226 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002659/0.7102, allocations: 0.6259 MB / 0.8232 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.7102, allocations: 55.41 kB / 0.8232 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.7105, allocations: 199.2 kB / 0.8234 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.7105, allocations: 29.7 kB / 0.8234 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.7106, allocations: 139.8 kB / 0.8236 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.7107, allocations: 47.62 kB / 0.8236 GB, free: 14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.7108, allocations: 49.69 kB / 0.8237 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7109, allocations: 330.7 kB / 0.824 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.7111, allocations: 71.94 kB / 0.824 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.7114, allocations: 133.2 kB / 0.8242 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.7118, allocations: 194.7 kB / 0.8244 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7119, allocations: 0 / 0.8244 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001415/0.7133, allocations: 382 kB / 0.8247 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7133, allocations: 4 kB / 0.8247 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7133, allocations: 4 kB / 0.8247 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.7144, allocations: 165.7 kB / 0.8249 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.7146, allocations: 35.97 kB / 0.8249 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.7187, allocations: 3.248 MB / 0.8281 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.719, allocations: 39.81 kB / 0.8281 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.7191, allocations: 4 kB / 0.8281 GB, free: 9 MB / 0.6544 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.0001685/0.7192, allocations: 141.2 kB / 0.8283 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.7193, allocations: 19.89 kB / 0.8283 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.7206, allocations: 368.3 kB / 0.8286 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.7206, allocations: 4 kB / 0.8286 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.7206, allocations: 0 / 0.8286 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7207, allocations: 192 / 0.8286 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.721, allocations: 273.4 kB / 0.8289 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.721, allocations: 0 / 0.8289 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.7211, allocations: 35.91 kB / 0.8289 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008063/0.722, allocations: 141.5 kB / 0.8291 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.722, allocations: 8 kB / 0.8291 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.7257, allocations: 3.286 MB / 0.8323 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7257, allocations: 0 / 0.8323 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.7269, allocations: 443.6 kB / 0.8327 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.727, allocations: 112.9 kB / 0.8328 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.7271, allocations: 11.94 kB / 0.8328 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.7273, allocations: 15.98 kB / 0.8328 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.7274, allocations: 23.97 kB / 0.8329 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.7275, allocations: 4 kB / 0.8329 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001834/0.7276, allocations: 144.2 kB / 0.833 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7276, allocations: 0 / 0.833 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004155/0.7281, allocations: 75.89 kB / 0.8331 GB, free: 3.531 MB / 0.6544 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.0001911/0.7283, allocations: 119.2 kB / 0.8332 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.7293, allocations: 445.8 kB / 0.8336 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7293, allocations: 0 / 0.8336 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.73, allocations: 357.2 kB / 0.834 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.7304, allocations: 53.95 kB / 0.834 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.7313, allocations: 405.7 kB / 0.8344 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.7317, allocations: 0.7285 MB / 0.8351 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.7318, allocations: 45.84 kB / 0.8352 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.7319, allocations: 19.44 kB / 0.8352 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.7319, allocations: 0 / 0.8352 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of Templates: time 0.009858/0.7418, allocations: 5.352 MB / 0.8404 GB, free: 11.99 MB / 0.67 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)