Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.0009907/0.0009908, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 299.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9082/0.9082, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 103.8 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3582, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002427/0.3606, allocations: 1.663 MB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.5003, allocations: 149.7 MB / 0.9149 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.5004, allocations: 4 kB / 0.9149 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.5006, allocations: 31.73 kB / 0.9149 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.5008, allocations: 43.66 kB / 0.9149 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.5012, allocations: 187.3 kB / 0.9151 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.5014, allocations: 163.5 kB / 0.9153 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.5015, allocations: 25.12 kB / 0.9153 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.5026, allocations: 196.4 kB / 0.9155 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.5027, allocations: 59.75 kB / 0.9155 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.5028, allocations: 8 kB / 0.9156 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.503, allocations: 175.7 kB / 0.9157 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.5031, allocations: 23.91 kB / 0.9157 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.5031, allocations: 55.72 kB / 0.9158 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.5034, allocations: 198 kB / 0.916 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5034, allocations: 0 / 0.916 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5034, allocations: 0 / 0.916 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.5035, allocations: 0 / 0.916 GB, free: 10.84 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007585/0.5042, allocations: 474.9 kB / 0.9164 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.5043, allocations: 8.031 kB / 0.9164 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.5048, allocations: 52.8 kB / 0.9165 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.505, allocations: 214.6 kB / 0.9167 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5051, allocations: 7.953 kB / 0.9167 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.5051, allocations: 11.94 kB / 0.9167 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.5055, allocations: 185.8 kB / 0.9169 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.5055, allocations: 0 / 0.9169 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.5056, allocations: 0 / 0.9169 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.5056, allocations: 7.984 kB / 0.9169 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.5061, allocations: 147.8 kB / 0.917 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.5071, allocations: 0.8128 MB / 0.9178 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.5074, allocations: 130.5 kB / 0.918 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.5077, allocations: 84.78 kB / 0.918 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.5077, allocations: 4 kB / 0.918 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.5078, allocations: 34.56 kB / 0.9181 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5078, allocations: 0 / 0.9181 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.001844/0.5096, allocations: 459.1 kB / 0.9185 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.5096, allocations: 55.41 kB / 0.9186 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.5098, allocations: 154.4 kB / 0.9187 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.5098, allocations: 33.69 kB / 0.9188 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.5099, allocations: 104.4 kB / 0.9189 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.5099, allocations: 35.53 kB / 0.9189 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.51, allocations: 29.7 kB / 0.9189 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.5101, allocations: 322.8 kB / 0.9192 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.5103, allocations: 75.88 kB / 0.9193 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.5106, allocations: 104.2 kB / 0.9194 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.5111, allocations: 180.1 kB / 0.9196 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5111, allocations: 7.922 kB / 0.9196 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009994/0.5121, allocations: 270.1 kB / 0.9198 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5121, allocations: 4 kB / 0.9198 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5121, allocations: 7.938 kB / 0.9198 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/0.5127, allocations: 84.89 kB / 0.9199 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.5129, allocations: 31.95 kB / 0.92 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.5148, allocations: 1.654 MB / 0.9216 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.515, allocations: 27.89 kB / 0.9216 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.515, allocations: 7.984 kB / 0.9216 GB, free: 4.613 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.793e-05/0.5151, allocations: 128.2 kB / 0.9217 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.5152, allocations: 7.906 kB / 0.9217 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.5162, allocations: 318.8 kB / 0.922 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.5163, allocations: 7.938 kB / 0.922 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5163, allocations: 0 / 0.922 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.5163, allocations: 96.98 kB / 0.9221 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.5164, allocations: 8 kB / 0.9221 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.5166, allocations: 15.98 kB / 0.9222 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.5166, allocations: 15.97 kB / 0.9222 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001023/0.5177, allocations: 364 kB / 0.9225 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008965/0.5186, allocations: 494.4 kB / 0.923 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000247/0.5188, allocations: 87.94 kB / 0.9231 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.5189, allocations: 115.2 kB / 0.9232 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of Backend: time 6.11e-07/0.5189, allocations: 0 / 0.9232 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009869/0.5199, allocations: 364.2 kB / 0.9235 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0005231/0.5205, allocations: 0.7137 MB / 0.9242 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of Templates: time 0.006474/0.5269, allocations: 3.697 MB / 0.9278 GB, free: 14.12 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)