Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 178 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 90.52 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.156e-05, allocations: 8 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2537, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.032/6.286, allocations: 2.198 GB / 3.09 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/6.286, allocations: 103.9 kB / 3.09 GB, free: 171 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2909/6.577, allocations: 158.4 MB / 3.245 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.194e-06/6.577, allocations: 0 / 3.245 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001251/6.577, allocations: 32 kB / 3.245 GB, free: 10.75 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.005219/6.583, allocations: 2.226 MB / 3.247 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/6.583, allocations: 12.03 kB / 3.247 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02149/6.604, allocations: 2.923 MB / 3.25 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005975/6.61, allocations: 2.835 MB / 3.252 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/6.61, allocations: 194.2 kB / 3.253 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/6.611, allocations: 64.33 kB / 3.253 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5412/7.152, allocations: 2.628 MB / 3.255 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/7.152, allocations: 1.312 kB / 3.255 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/7.152, allocations: 20.39 kB / 3.255 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/7.152, allocations: 12.34 kB / 3.255 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006266/7.159, allocations: 3.578 MB / 3.259 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/7.183, allocations: 8.822 MB / 3.267 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/7.195, allocations: 4.004 MB / 3.271 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/7.198, allocations: 1.62 MB / 3.273 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/7.199, allocations: 23.06 kB / 3.273 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004149/7.203, allocations: 2.369 MB / 3.275 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 4.769e-06/7.203, allocations: 0 / 3.275 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.02419/7.227, allocations: 4.689 MB / 3.28 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/7.227, allocations: 96.7 kB / 3.28 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008448/7.235, allocations: 4.145 MB / 3.284 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/7.237, allocations: 62.5 kB / 3.284 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/7.238, allocations: 1.001 MB / 3.285 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005894/7.238, allocations: 246.3 kB / 3.285 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/7.239, allocations: 16.56 kB / 3.285 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001044/7.239, allocations: 348 kB / 3.286 GB, free: 242 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/7.242, allocations: 2.142 MB / 3.288 GB, free: 242 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/7.245, allocations: 2.179 MB / 3.29 GB, free: 241.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/7.248, allocations: 1.746 MB / 3.291 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/7.248, allocations: 0 / 3.291 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.02486/7.273, allocations: 5.97 MB / 3.297 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003734/7.273, allocations: 390.9 kB / 3.298 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/7.273, allocations: 3.844 kB / 3.298 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004239/7.277, allocations: 0.9918 MB / 3.299 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004534/7.282, allocations: 0.6554 MB / 3.299 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/7.286, allocations: 4.827 MB / 3.304 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005923/7.292, allocations: 0.5793 MB / 3.305 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008249/7.293, allocations: 152.4 kB / 3.305 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/7.293, allocations: 3.719 kB / 3.305 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02125/7.314, allocations: 5.704 MB / 3.31 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/7.315, allocations: 0 / 3.31 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/7.318, allocations: 0.8811 MB / 3.311 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/7.322, allocations: 0.6535 MB / 3.312 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/7.329, allocations: 8.506 MB / 3.32 GB, free: 224 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/7.335, allocations: 0.5706 MB / 3.321 GB, free: 224 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009292/7.336, allocations: 148.7 kB / 3.321 GB, free: 224 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001389/7.338, allocations: 204.6 kB / 3.321 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/7.339, allocations: 250.8 kB / 3.321 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02315/7.362, allocations: 5.048 MB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/7.363, allocations: 9.031 kB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/7.363, allocations: 2.156 kB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/7.363, allocations: 3.797 kB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007509/7.37, allocations: 3.591 MB / 3.33 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/7.37, allocations: 3.953 kB / 3.33 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004439/7.375, allocations: 0.6159 MB / 3.33 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009821/7.376, allocations: 201 kB / 3.33 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006488/7.376, allocations: 73.17 kB / 3.331 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/7.379, allocations: 2.142 MB / 3.333 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/7.379, allocations: 3.938 kB / 3.333 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/7.401, allocations: 4.679 MB / 3.337 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003454/7.404, allocations: 1.12 MB / 3.338 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/7.406, allocations: 68.42 kB / 3.338 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005816/7.412, allocations: 0.5476 MB / 3.339 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004566/7.412, allocations: 84.48 kB / 3.339 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006266/7.413, allocations: 147.3 kB / 3.339 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006962/7.42, allocations: 3.159 MB / 3.342 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.92e-07/7.42, allocations: 3.594 kB / 3.342 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00687/7.427, allocations: 1.143 MB / 3.343 GB, free: 215.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003125/7.43, allocations: 1.164 MB / 3.344 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01224/7.442, allocations: 8.039 MB / 3.352 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/7.442, allocations: 0 / 3.352 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002824/7.445, allocations: 1.979 MB / 3.354 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/7.448, allocations: 0.6313 MB / 3.355 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/7.462, allocations: 5.916 MB / 3.361 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/7.463, allocations: 2.138 MB / 3.363 GB, free: 207 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008841/7.472, allocations: 2.858 MB / 3.365 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/7.473, allocations: 194.3 kB / 3.366 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/7.473, allocations: 0 / 3.366 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.1062/7.579, allocations: 80.32 MB / 3.444 GB, free: 140.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)