Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001248/0.001248, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001169/0.001169, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 290.8 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9105/0.9105, allocations: 169.2 MB / 0.4978 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 95.98 kB / 0.5947 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1601, allocations: 86.98 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003088/0.1632, allocations: 1.972 MB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4705/0.6337, allocations: 153.2 MB / 0.8312 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.634, allocations: 6.125 kB / 0.8312 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.6342, allocations: 24.72 kB / 0.8312 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.6345, allocations: 66.8 kB / 0.8312 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.6353, allocations: 232.6 kB / 0.8315 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.6355, allocations: 264.7 kB / 0.8317 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.6357, allocations: 71.97 kB / 0.8318 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.6376, allocations: 235.8 kB / 0.832 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.6377, allocations: 93.02 kB / 0.8321 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.6377, allocations: 14.12 kB / 0.8321 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.6381, allocations: 184.1 kB / 0.8323 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.6382, allocations: 44.39 kB / 0.8323 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.6382, allocations: 102.2 kB / 0.8324 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.6386, allocations: 277.1 kB / 0.8327 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6386, allocations: 0 / 0.8327 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6386, allocations: 0 / 0.8327 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.6387, allocations: 1.031 kB / 0.8327 GB, free: 15.91 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.0009554/0.6396, allocations: 0.5306 MB / 0.8332 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.6397, allocations: 10 kB / 0.8332 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.6406, allocations: 84.69 kB / 0.8333 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.6408, allocations: 226.9 kB / 0.8335 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.6409, allocations: 41.94 kB / 0.8336 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.6409, allocations: 16.97 kB / 0.8336 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.6414, allocations: 263.3 kB / 0.8338 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6415, allocations: 1.031 kB / 0.8338 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.6415, allocations: 8.75 kB / 0.8338 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6415, allocations: 5.281 kB / 0.8338 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.642, allocations: 173.9 kB / 0.834 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.6436, allocations: 1.181 MB / 0.8352 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.6443, allocations: 203.5 kB / 0.8354 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.6445, allocations: 75.52 kB / 0.8354 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.6446, allocations: 2.219 kB / 0.8354 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6446, allocations: 35.44 kB / 0.8355 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.6446, allocations: 0 / 0.8355 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002915/0.6475, allocations: 0.6275 MB / 0.8361 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.6476, allocations: 52.62 kB / 0.8361 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.6479, allocations: 220.8 kB / 0.8363 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.6479, allocations: 26.8 kB / 0.8364 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.648, allocations: 141.4 kB / 0.8365 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.648, allocations: 38.08 kB / 0.8365 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.6481, allocations: 45.06 kB / 0.8366 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6483, allocations: 330.1 kB / 0.8369 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.6485, allocations: 75.97 kB / 0.837 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.6488, allocations: 128.7 kB / 0.8371 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.6492, allocations: 203.1 kB / 0.8373 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6492, allocations: 0 / 0.8373 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001511/0.6507, allocations: 388.3 kB / 0.8377 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6507, allocations: 5.781 kB / 0.8377 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6508, allocations: 1.438 kB / 0.8377 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.6519, allocations: 158.5 kB / 0.8378 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.6521, allocations: 40.06 kB / 0.8379 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/0.6563, allocations: 3.249 MB / 0.841 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.6567, allocations: 28.12 kB / 0.8411 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.6567, allocations: 17.55 kB / 0.8411 GB, free: 10.12 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.0001443/0.6569, allocations: 136.2 kB / 0.8412 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.6569, allocations: 18.3 kB / 0.8412 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.6582, allocations: 372.6 kB / 0.8416 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6582, allocations: 1.375 kB / 0.8416 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.6583, allocations: 0 / 0.8416 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6583, allocations: 1.375 kB / 0.8416 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.6586, allocations: 283.5 kB / 0.8418 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6586, allocations: 9.312 kB / 0.8419 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.6587, allocations: 25.36 kB / 0.8419 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008276/0.6596, allocations: 136.1 kB / 0.842 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.6596, allocations: 1.156 kB / 0.842 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003556/0.6632, allocations: 3.303 MB / 0.8452 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6632, allocations: 0 / 0.8452 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.6645, allocations: 435.5 kB / 0.8456 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.6646, allocations: 109.5 kB / 0.8458 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.6646, allocations: 8.625 kB / 0.8458 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.6649, allocations: 20.92 kB / 0.8458 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.665, allocations: 22.84 kB / 0.8458 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.6651, allocations: 4.125 kB / 0.8458 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001663/0.6652, allocations: 159.3 kB / 0.846 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6652, allocations: 0 / 0.846 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004147/0.6657, allocations: 76.45 kB / 0.846 GB, free: 6.5 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.0001844/0.6658, allocations: 117.1 kB / 0.8461 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.6669, allocations: 450.5 kB / 0.8466 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6669, allocations: 5.312 kB / 0.8466 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000673/0.6676, allocations: 358.3 kB / 0.8469 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.6681, allocations: 58.42 kB / 0.847 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.669, allocations: 496.9 kB / 0.8474 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.6694, allocations: 0.7357 MB / 0.8482 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000222/0.6696, allocations: 39.16 kB / 0.8482 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.6697, allocations: 21.78 kB / 0.8482 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.6697, allocations: 0 / 0.8482 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of Templates: time 0.009657/0.6793, allocations: 5.239 MB / 0.8533 GB, free: 2.258 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)