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.001219/0.001219, allocations: 105 kB / 16.41 MB, free: 6.457 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.001187/0.001187, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 73.84 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1477, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00338/0.1511, allocations: 1.876 MB / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5308/0.682, allocations: 155.4 MB / 0.8139 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.6822, allocations: 2.781 kB / 0.8139 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.6825, allocations: 23.62 kB / 0.8139 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.6828, allocations: 77.05 kB / 0.814 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.6834, allocations: 251.2 kB / 0.8143 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.6837, allocations: 265.4 kB / 0.8145 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.6839, allocations: 71.06 kB / 0.8146 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.6851, allocations: 240.5 kB / 0.8148 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.6853, allocations: 93.81 kB / 0.8149 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.6853, allocations: 15.45 kB / 0.8149 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.6856, allocations: 183.7 kB / 0.8151 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.6857, allocations: 38.5 kB / 0.8151 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.6858, allocations: 93.05 kB / 0.8152 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.6862, allocations: 274.5 kB / 0.8155 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6863, allocations: 0 / 0.8155 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6863, allocations: 5.094 kB / 0.8155 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.6863, allocations: 0 / 0.8155 GB, free: 10.95 MB / 0.5919 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.001022/0.6873, allocations: 0.5112 MB / 0.816 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.6874, allocations: 13.47 kB / 0.816 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008778/0.6882, allocations: 76.39 kB / 0.8161 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.6885, allocations: 231.4 kB / 0.8163 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.6886, allocations: 39.59 kB / 0.8163 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.6887, allocations: 22.95 kB / 0.8163 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.6892, allocations: 267.2 kB / 0.8166 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6892, allocations: 0.875 kB / 0.8166 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.6893, allocations: 6 kB / 0.8166 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6893, allocations: 4.344 kB / 0.8166 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.6897, allocations: 169.9 kB / 0.8168 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.6913, allocations: 1.178 MB / 0.8179 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.6921, allocations: 203.9 kB / 0.8181 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.6922, allocations: 68.33 kB / 0.8182 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.6923, allocations: 1.281 kB / 0.8182 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.6923, allocations: 43.83 kB / 0.8182 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.6923, allocations: 0 / 0.8182 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002603/0.6949, allocations: 0.623 MB / 0.8188 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.695, allocations: 51.41 kB / 0.8189 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.6952, allocations: 201.9 kB / 0.8191 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.6952, allocations: 28.7 kB / 0.8191 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.6953, allocations: 153.8 kB / 0.8193 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.6954, allocations: 39.98 kB / 0.8193 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.6954, allocations: 46.91 kB / 0.8193 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6956, allocations: 330 kB / 0.8197 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.6958, allocations: 68.44 kB / 0.8197 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.696, allocations: 131.3 kB / 0.8198 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.6964, allocations: 207.1 kB / 0.82 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6964, allocations: 0 / 0.82 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001373/0.6978, allocations: 362.9 kB / 0.8204 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6978, allocations: 15.36 kB / 0.8204 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6978, allocations: 224 / 0.8204 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.6989, allocations: 161 kB / 0.8206 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.6991, allocations: 36.8 kB / 0.8206 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.7031, allocations: 3.253 MB / 0.8238 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.7034, allocations: 35.48 kB / 0.8238 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.7035, allocations: 13.27 kB / 0.8238 GB, free: 4.277 MB / 0.5919 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.0001672/0.7036, allocations: 134.8 kB / 0.8239 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.7037, allocations: 17.88 kB / 0.824 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.705, allocations: 368.7 kB / 0.8243 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.705, allocations: 2.656 kB / 0.8243 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.705, allocations: 0 / 0.8243 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.705, allocations: 0 / 0.8243 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.7054, allocations: 276.4 kB / 0.8246 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.7054, allocations: 0 / 0.8246 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.7056, allocations: 27.92 kB / 0.8246 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007905/0.7064, allocations: 141.6 kB / 0.8247 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.7064, allocations: 6.656 kB / 0.8247 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003672/0.7101, allocations: 3.303 MB / 0.828 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/0.7101, allocations: 4.062 kB / 0.828 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.7113, allocations: 430 kB / 0.8284 GB, free: 36 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.7114, allocations: 103.8 kB / 0.8285 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.7115, allocations: 7.312 kB / 0.8285 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.7118, allocations: 23.58 kB / 0.8285 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.7119, allocations: 15.45 kB / 0.8285 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.7119, allocations: 10.17 kB / 0.8285 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001701/0.7121, allocations: 145.9 kB / 0.8287 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7121, allocations: 0 / 0.8287 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00041/0.7125, allocations: 70 kB / 0.8287 GB, free: 15.77 MB / 0.6075 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.0002019/0.7127, allocations: 116 kB / 0.8289 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.7138, allocations: 450.6 kB / 0.8293 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7138, allocations: 0 / 0.8293 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006602/0.7144, allocations: 358.6 kB / 0.8296 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.7149, allocations: 56.61 kB / 0.8297 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.7158, allocations: 441 kB / 0.8301 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.7162, allocations: 0.7316 MB / 0.8308 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.7163, allocations: 24.36 kB / 0.8308 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.7163, allocations: 0 / 0.8308 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.006992/0.7233, allocations: 4.424 MB / 0.8352 GB, free: 11.66 MB / 0.6075 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)