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.353/1.353, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 185.6 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008636/0.0008638, allocations: 92.55 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004463, allocations: 11.81 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2079, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.627/4.834, allocations: 2.198 GB / 3.098 GB, free: 245 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/4.835, allocations: 113.4 kB / 3.098 GB, free: 245 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2888/5.124, allocations: 158.7 MB / 3.253 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.032e-06/5.124, allocations: 0 / 3.253 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001212/5.124, allocations: 36.16 kB / 3.253 GB, free: 169.2 MB / 0.8855 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.005392/5.129, allocations: 3.064 MB / 3.256 GB, free: 166 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/5.129, allocations: 8.031 kB / 3.256 GB, free: 166 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02299/5.152, allocations: 2.927 MB / 3.259 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/5.158, allocations: 2.87 MB / 3.262 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/5.158, allocations: 198.2 kB / 3.262 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/5.159, allocations: 56.34 kB / 3.262 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008777/5.167, allocations: 3.57 MB / 3.266 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/5.167, allocations: 0 / 3.266 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/5.168, allocations: 23.98 kB / 3.266 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/5.168, allocations: 12 kB / 3.266 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/5.183, allocations: 5.445 MB / 3.271 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/5.204, allocations: 8.806 MB / 3.28 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01974/5.224, allocations: 5.776 MB / 3.285 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/5.224, allocations: 28.48 kB / 3.285 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008506/5.233, allocations: 3.292 MB / 3.288 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 5.089e-06/5.233, allocations: 96 / 3.288 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.04692/5.28, allocations: 9.663 MB / 3.298 GB, free: 123 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/5.28, allocations: 97.75 kB / 3.298 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006056/5.286, allocations: 4.198 MB / 3.302 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007904/5.287, allocations: 57.69 kB / 3.302 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008934/5.288, allocations: 1.006 MB / 3.303 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/5.288, allocations: 240.6 kB / 3.303 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/5.289, allocations: 20 kB / 3.303 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/5.289, allocations: 345.9 kB / 3.304 GB, free: 117 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007727/5.296, allocations: 3.071 MB / 3.307 GB, free: 114 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007722/5.304, allocations: 3.109 MB / 3.31 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007145/5.311, allocations: 2.637 MB / 3.312 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/5.311, allocations: 0 / 3.312 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.03571/5.347, allocations: 7.809 MB / 3.32 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/5.347, allocations: 389.1 kB / 3.32 GB, free: 99.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/5.347, allocations: 0 / 3.32 GB, free: 99.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004188/5.351, allocations: 1.043 MB / 3.321 GB, free: 98.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/5.356, allocations: 0.6514 MB / 3.322 GB, free: 98.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/5.36, allocations: 4.902 MB / 3.327 GB, free: 93.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/5.365, allocations: 0.5807 MB / 3.327 GB, free: 92.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005727/5.366, allocations: 151.9 kB / 3.327 GB, free: 92.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/5.366, allocations: 4 kB / 3.327 GB, free: 92.29 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03381/5.4, allocations: 7.548 MB / 3.335 GB, free: 84.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/5.4, allocations: 0 / 3.335 GB, free: 84.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/5.403, allocations: 0.9257 MB / 3.336 GB, free: 83.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004382/5.407, allocations: 0.6592 MB / 3.336 GB, free: 83.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006396/5.414, allocations: 8.645 MB / 3.345 GB, free: 73.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005493/5.419, allocations: 0.5769 MB / 3.345 GB, free: 73.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005166/5.42, allocations: 143.9 kB / 3.345 GB, free: 73.04 MB / 0.8855 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 () * Number of clocked 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.002256/5.422, allocations: 1.17 MB / 3.347 GB, free: 71.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008233/5.423, allocations: 260.8 kB / 3.347 GB, free: 71.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03604/5.459, allocations: 6.873 MB / 3.354 GB, free: 64.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/5.459, allocations: 4 kB / 3.354 GB, free: 64.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/5.459, allocations: 7.938 kB / 3.354 GB, free: 64.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/5.459, allocations: 3.984 kB / 3.354 GB, free: 64.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00495/5.464, allocations: 3.597 MB / 3.357 GB, free: 61.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/5.464, allocations: 0 / 3.357 GB, free: 61.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003943/5.468, allocations: 0.6124 MB / 3.358 GB, free: 60.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/5.469, allocations: 253.4 kB / 3.358 GB, free: 60.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/5.47, allocations: 75.88 kB / 3.358 GB, free: 60.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/5.472, allocations: 2.19 MB / 3.36 GB, free: 57.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/5.472, allocations: 3.953 kB / 3.36 GB, free: 57.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03352/5.505, allocations: 6.512 MB / 3.367 GB, free: 51.17 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003258/5.509, allocations: 1.122 MB / 3.368 GB, free: 50.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006688/5.509, allocations: 67.95 kB / 3.368 GB, free: 49.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004455/5.514, allocations: 0.5539 MB / 3.368 GB, free: 49.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/5.514, allocations: 80.53 kB / 3.368 GB, free: 49.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/5.514, allocations: 139.9 kB / 3.368 GB, free: 49.19 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004616/5.519, allocations: 3.216 MB / 3.372 GB, free: 45.97 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/5.519, allocations: 3.938 kB / 3.372 GB, free: 45.96 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004101/5.523, allocations: 1.136 MB / 3.373 GB, free: 44.83 MB / 0.8855 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]) * Number of clocked states: 0 () * 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.001892/5.525, allocations: 1.153 MB / 3.374 GB, free: 43.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02578/5.551, allocations: 10.75 MB / 3.384 GB, free: 32.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/5.551, allocations: 0 / 3.384 GB, free: 32.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007704/5.559, allocations: 2.91 MB / 3.387 GB, free: 29.86 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/5.562, allocations: 0.6278 MB / 3.388 GB, free: 29.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/5.579, allocations: 7.948 MB / 3.396 GB, free: 21.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/5.581, allocations: 2.129 MB / 3.398 GB, free: 19.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005121/5.586, allocations: 1.421 MB / 3.399 GB, free: 17.66 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/5.587, allocations: 231.2 kB / 3.399 GB, free: 17.43 MB / 0.8855 GB Notification: Performance of SimCode: time 1.283e-06/5.587, allocations: 0 / 3.399 GB, free: 17.43 MB / 0.8855 GB Notification: Performance of Templates: time 0.4805/6.068, allocations: 74.3 MB / 3.472 GB, free: 251.6 MB / 0.8855 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)