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.006084/0.006084, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001111/0.001111, allocations: 192.7 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 285.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 91.86 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4494, allocations: 86.98 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002638/0.4521, allocations: 1.667 MB / 0.768 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.153/0.6051, allocations: 149.7 MB / 0.9142 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.6052, allocations: 0 / 0.9142 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.6055, allocations: 27.73 kB / 0.9142 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.6058, allocations: 51.62 kB / 0.9143 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.6062, allocations: 187.3 kB / 0.9145 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.6064, allocations: 167.5 kB / 0.9146 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.6066, allocations: 28.91 kB / 0.9146 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.6077, allocations: 189.7 kB / 0.9148 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.6078, allocations: 59.75 kB / 0.9149 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.6079, allocations: 8 kB / 0.9149 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.6081, allocations: 163.8 kB / 0.915 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.6082, allocations: 27.91 kB / 0.9151 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.6083, allocations: 51.73 kB / 0.9151 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.6086, allocations: 205.1 kB / 0.9153 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6086, allocations: 0 / 0.9153 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6086, allocations: 0 / 0.9153 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.6086, allocations: 0 / 0.9153 GB, free: 10.8 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.0007936/0.6094, allocations: 478.6 kB / 0.9158 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.6095, allocations: 8.031 kB / 0.9158 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.61, allocations: 60.78 kB / 0.9158 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.6103, allocations: 202.8 kB / 0.916 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.6103, allocations: 11.98 kB / 0.916 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.6103, allocations: 11.94 kB / 0.9161 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.6108, allocations: 185.8 kB / 0.9162 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.6108, allocations: 3.938 kB / 0.9162 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.6108, allocations: 4 kB / 0.9162 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6108, allocations: 4 kB / 0.9162 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.6113, allocations: 143.8 kB / 0.9164 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.6124, allocations: 0.8168 MB / 0.9172 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.6128, allocations: 130.5 kB / 0.9173 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.6131, allocations: 80.8 kB / 0.9174 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.6131, allocations: 0 / 0.9174 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.6131, allocations: 30.56 kB / 0.9174 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.6131, allocations: 4 kB / 0.9174 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.001782/0.6149, allocations: 467.3 kB / 0.9179 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.6149, allocations: 51.41 kB / 0.9179 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.6151, allocations: 157 kB / 0.9181 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.6151, allocations: 25.7 kB / 0.9181 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.6152, allocations: 108.3 kB / 0.9182 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.6152, allocations: 27.75 kB / 0.9182 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.6153, allocations: 37.69 kB / 0.9182 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6154, allocations: 318.8 kB / 0.9185 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.6156, allocations: 75.92 kB / 0.9186 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.6159, allocations: 108.1 kB / 0.9187 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.6164, allocations: 180.1 kB / 0.9189 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6164, allocations: 4 kB / 0.9189 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009505/0.6174, allocations: 282.1 kB / 0.9192 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6174, allocations: 7.938 kB / 0.9192 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6174, allocations: 4.125 kB / 0.9192 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.6179, allocations: 84.77 kB / 0.9193 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.6182, allocations: 35.95 kB / 0.9193 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.6202, allocations: 1.661 MB / 0.9209 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.6204, allocations: 19.92 kB / 0.9209 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.6204, allocations: 11.98 kB / 0.9209 GB, free: 4.566 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 0.0001019/0.6205, allocations: 120.2 kB / 0.9211 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.6206, allocations: 15.84 kB / 0.9211 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.6216, allocations: 321.6 kB / 0.9214 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6216, allocations: 0 / 0.9214 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.6216, allocations: 0 / 0.9214 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6216, allocations: 4 kB / 0.9214 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.6219, allocations: 245.4 kB / 0.9216 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6219, allocations: 0 / 0.9216 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.6221, allocations: 35.95 kB / 0.9217 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.6225, allocations: 80.72 kB / 0.9217 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.6225, allocations: 3.938 kB / 0.9217 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.6243, allocations: 1.682 MB / 0.9234 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6243, allocations: 4.062 kB / 0.9234 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/0.6253, allocations: 380 kB / 0.9237 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.6254, allocations: 96.98 kB / 0.9238 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.6254, allocations: 11.98 kB / 0.9238 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.6256, allocations: 15.92 kB / 0.9239 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.6257, allocations: 15.98 kB / 0.9239 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.6257, allocations: 7.984 kB / 0.9239 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.6258, allocations: 113.3 kB / 0.924 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.813e-06/0.6258, allocations: 0 / 0.924 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000301/0.6261, allocations: 51.83 kB / 0.924 GB, free: 1.145 MB / 0.6856 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.6263, allocations: 107.2 kB / 0.9241 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008368/0.6271, allocations: 306.5 kB / 0.9244 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6271, allocations: 256 / 0.9244 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.6276, allocations: 234.5 kB / 0.9247 GB, free: 488 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.628, allocations: 43.38 kB / 0.9247 GB, free: 448 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.6287, allocations: 303.3 kB / 0.925 GB, free: 120 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.629, allocations: 0.7085 MB / 0.9257 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.6291, allocations: 24.88 kB / 0.9257 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.6292, allocations: 19.44 kB / 0.9257 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of SimCode: time 2.51e-07/0.6292, allocations: 3.938 kB / 0.9257 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of Templates: time 0.006156/0.6354, allocations: 3.239 MB / 0.9289 GB, free: 12.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)