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.008577/0.008577, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00126/0.001261, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 283.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9547/0.9547, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 95.83 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1757, allocations: 86.97 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002536/0.1783, allocations: 1.672 MB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5547/0.733, allocations: 149.7 MB / 0.9142 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.7332, allocations: 4 kB / 0.9142 GB, free: 11.48 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.7334, allocations: 19.8 kB / 0.9142 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.7337, allocations: 53.91 kB / 0.9143 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.7342, allocations: 183.9 kB / 0.9144 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.7344, allocations: 167.5 kB / 0.9146 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.7346, allocations: 29.11 kB / 0.9146 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.7356, allocations: 177 kB / 0.9148 GB, free: 10.9 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.7358, allocations: 67.67 kB / 0.9149 GB, free: 10.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.7358, allocations: 12 kB / 0.9149 GB, free: 10.82 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.7361, allocations: 155.8 kB / 0.915 GB, free: 10.67 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.7362, allocations: 35.83 kB / 0.9151 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.7362, allocations: 55.72 kB / 0.9151 GB, free: 10.58 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.7366, allocations: 198.3 kB / 0.9153 GB, free: 10.39 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7366, allocations: 4 kB / 0.9153 GB, free: 10.39 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7366, allocations: 3.938 kB / 0.9153 GB, free: 10.38 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.7366, allocations: 0 / 0.9153 GB, free: 10.38 MB / 0.67 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.0007454/0.7373, allocations: 471.5 kB / 0.9158 GB, free: 9.875 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.7374, allocations: 8.031 kB / 0.9158 GB, free: 9.867 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/0.7379, allocations: 52.97 kB / 0.9158 GB, free: 9.816 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.7382, allocations: 210 kB / 0.916 GB, free: 9.574 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7382, allocations: 15.95 kB / 0.916 GB, free: 9.559 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.7382, allocations: 8 kB / 0.916 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.7386, allocations: 179.8 kB / 0.9162 GB, free: 9.355 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.7386, allocations: 0 / 0.9162 GB, free: 9.355 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.7387, allocations: 7.938 kB / 0.9162 GB, free: 9.348 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.7387, allocations: 8 kB / 0.9162 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.7391, allocations: 139.8 kB / 0.9164 GB, free: 9.203 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009924/0.7401, allocations: 0.8244 MB / 0.9172 GB, free: 8.301 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.7405, allocations: 138.4 kB / 0.9173 GB, free: 8.156 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.7408, allocations: 80.8 kB / 0.9174 GB, free: 8.074 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.7408, allocations: 0 / 0.9174 GB, free: 8.074 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.7408, allocations: 42.19 kB / 0.9174 GB, free: 8.027 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.7409, allocations: 0 / 0.9174 GB, free: 8.027 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001739/0.7426, allocations: 455.1 kB / 0.9179 GB, free: 7.555 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.7426, allocations: 51.41 kB / 0.9179 GB, free: 7.492 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.7428, allocations: 158.8 kB / 0.9181 GB, free: 7.328 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.7428, allocations: 25.7 kB / 0.9181 GB, free: 7.297 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.7429, allocations: 116.2 kB / 0.9182 GB, free: 7.18 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.7429, allocations: 27.78 kB / 0.9182 GB, free: 7.152 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.743, allocations: 33.7 kB / 0.9182 GB, free: 7.113 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7431, allocations: 318.8 kB / 0.9186 GB, free: 6.793 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.7433, allocations: 71.94 kB / 0.9186 GB, free: 6.723 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.7436, allocations: 102.8 kB / 0.9187 GB, free: 6.609 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.7441, allocations: 177.6 kB / 0.9189 GB, free: 6.422 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7441, allocations: 0 / 0.9189 GB, free: 6.422 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000994/0.7451, allocations: 282 kB / 0.9192 GB, free: 6.137 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7451, allocations: 8 kB / 0.9192 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7451, allocations: 7.875 kB / 0.9192 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/0.7457, allocations: 84.89 kB / 0.9193 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.7459, allocations: 35.89 kB / 0.9193 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.7479, allocations: 1.65 MB / 0.9209 GB, free: 4.203 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.7481, allocations: 31.81 kB / 0.9209 GB, free: 4.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.7481, allocations: 4 kB / 0.9209 GB, free: 4.168 MB / 0.67 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.0001461/0.7483, allocations: 130.4 kB / 0.9211 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.7483, allocations: 7.906 kB / 0.9211 GB, free: 4.023 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.7494, allocations: 313 kB / 0.9214 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7494, allocations: 3.938 kB / 0.9214 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.7494, allocations: 0 / 0.9214 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7494, allocations: 3.984 kB / 0.9214 GB, free: 3.699 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.7497, allocations: 241.5 kB / 0.9216 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.7497, allocations: 8.859 kB / 0.9216 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.7499, allocations: 27.97 kB / 0.9216 GB, free: 3.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003899/0.7503, allocations: 72.78 kB / 0.9217 GB, free: 3.305 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.7503, allocations: 3.984 kB / 0.9217 GB, free: 3.301 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.7521, allocations: 1.684 MB / 0.9234 GB, free: 1.473 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7521, allocations: 1.25 kB / 0.9234 GB, free: 1.473 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009654/0.7531, allocations: 372.1 kB / 0.9237 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.7532, allocations: 116.8 kB / 0.9238 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.7532, allocations: 0 / 0.9238 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.7534, allocations: 12.86 kB / 0.9238 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.7535, allocations: 27.98 kB / 0.9239 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.7535, allocations: 3.984 kB / 0.9239 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.7536, allocations: 119.5 kB / 0.924 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7536, allocations: 0 / 0.924 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003131/0.7539, allocations: 44 kB / 0.924 GB, free: 0.7578 MB / 0.67 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.0001701/0.7541, allocations: 117.5 kB / 0.9241 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008381/0.755, allocations: 310.7 kB / 0.9244 GB, free: 328 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.755, allocations: 3.938 kB / 0.9244 GB, free: 324 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.7555, allocations: 237.9 kB / 0.9247 GB, free: 76 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.7558, allocations: 24.98 kB / 0.9247 GB, free: 52 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.7567, allocations: 309 kB / 0.925 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.757, allocations: 0.7123 MB / 0.9257 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.7571, allocations: 28.88 kB / 0.9257 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.7572, allocations: 15.42 kB / 0.9257 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of SimCode: time 3.01e-07/0.7572, allocations: 3.938 kB / 0.9257 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of Templates: time 0.006752/0.7639, allocations: 3.33 MB / 0.929 GB, free: 11.64 MB / 0.6856 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)