Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.348/2.348, allocations: 251.1 MB / 266.7 MB, free: 11.53 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.001332/0.001332, allocations: 172.3 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.517/2.517, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009635/0.000963, allocations: 99.38 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006807/0.0006809, allocations: 14.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2098, allocations: 106.3 MB / 0.8995 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.389/7.598, allocations: 2.198 GB / 3.097 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004074/7.599, allocations: 114 kB / 3.097 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7385/8.337, allocations: 155.4 MB / 3.249 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.797e-06/8.337, allocations: 0 / 3.249 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004197/8.338, allocations: 32.22 kB / 3.249 GB, free: 182.6 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.01606/8.354, allocations: 3.072 MB / 3.252 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/8.354, allocations: 8.031 kB / 3.252 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06231/8.416, allocations: 2.936 MB / 3.255 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/8.43, allocations: 2.868 MB / 3.258 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008633/8.431, allocations: 202.8 kB / 3.258 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/8.432, allocations: 56.38 kB / 3.258 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02271/8.455, allocations: 3.578 MB / 3.262 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/8.455, allocations: 0 / 3.262 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004966/8.455, allocations: 24 kB / 3.262 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/8.455, allocations: 16 kB / 3.262 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03119/8.487, allocations: 5.433 MB / 3.267 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03545/8.522, allocations: 8.806 MB / 3.276 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03915/8.561, allocations: 5.783 MB / 3.281 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0147/8.576, allocations: 2.547 MB / 3.284 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/8.576, allocations: 24.53 kB / 3.284 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01644/8.593, allocations: 3.3 MB / 3.287 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 6.221e-06/8.593, allocations: 0 / 3.287 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.08995/8.683, allocations: 9.578 MB / 3.296 GB, free: 134 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/8.683, allocations: 101.8 kB / 3.296 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/8.694, allocations: 4.521 MB / 3.301 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/8.695, allocations: 57.7 kB / 3.301 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/8.698, allocations: 1.01 MB / 3.302 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000855/8.698, allocations: 240.6 kB / 3.302 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/8.699, allocations: 16 kB / 3.302 GB, free: 128 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001371/8.699, allocations: 346.4 kB / 3.302 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0158/8.715, allocations: 3.075 MB / 3.305 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01587/8.731, allocations: 3.102 MB / 3.309 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/8.746, allocations: 2.645 MB / 3.311 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/8.746, allocations: 0 / 3.311 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.06904/8.815, allocations: 7.851 MB / 3.319 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/8.815, allocations: 208.5 kB / 3.319 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/8.815, allocations: 0 / 3.319 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00829/8.823, allocations: 1.082 MB / 3.32 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008267/8.832, allocations: 0.6553 MB / 3.321 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/8.849, allocations: 9.946 MB / 3.33 GB, free: 98.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009618/8.858, allocations: 0.5768 MB / 3.331 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000912/8.859, allocations: 151.9 kB / 3.331 GB, free: 97.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/8.859, allocations: 8 kB / 3.331 GB, free: 97.56 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06576/8.925, allocations: 7.544 MB / 3.338 GB, free: 89.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/8.925, allocations: 0 / 3.338 GB, free: 89.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006066/8.931, allocations: 0.918 MB / 3.339 GB, free: 89.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008145/8.939, allocations: 0.6514 MB / 3.34 GB, free: 88.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/8.95, allocations: 8.578 MB / 3.348 GB, free: 79.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009526/8.96, allocations: 0.5769 MB / 3.349 GB, free: 78.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009685/8.961, allocations: 147.9 kB / 3.349 GB, free: 78.39 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.003546/8.964, allocations: 1.162 MB / 3.35 GB, free: 77.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/8.966, allocations: 260.8 kB / 3.35 GB, free: 76.95 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06594/9.032, allocations: 6.868 MB / 3.357 GB, free: 70.06 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/9.032, allocations: 8 kB / 3.357 GB, free: 70.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/9.032, allocations: 4 kB / 3.357 GB, free: 70.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/9.032, allocations: 7.922 kB / 3.357 GB, free: 70.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/9.039, allocations: 3.601 MB / 3.361 GB, free: 66.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/9.039, allocations: 4 kB / 3.361 GB, free: 66.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00777/9.047, allocations: 0.6085 MB / 3.361 GB, free: 65.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/9.049, allocations: 249.5 kB / 3.362 GB, free: 65.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006206/9.05, allocations: 79.88 kB / 3.362 GB, free: 65.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/9.054, allocations: 2.19 MB / 3.364 GB, free: 63.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/9.054, allocations: 4.031 kB / 3.364 GB, free: 63.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06461/9.118, allocations: 6.512 MB / 3.37 GB, free: 56.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003746/9.122, allocations: 1.118 MB / 3.371 GB, free: 55.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/9.124, allocations: 63.97 kB / 3.371 GB, free: 55.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009502/9.133, allocations: 0.55 MB / 3.372 GB, free: 54.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/9.134, allocations: 88.52 kB / 3.372 GB, free: 54.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000611/9.134, allocations: 139.9 kB / 3.372 GB, free: 54.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008372/9.143, allocations: 3.212 MB / 3.375 GB, free: 51.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.61e-07/9.143, allocations: 0 / 3.375 GB, free: 51.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006725/9.149, allocations: 1.171 MB / 3.376 GB, free: 50.15 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.002964/9.152, allocations: 1.157 MB / 3.377 GB, free: 48.99 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.05313/9.206, allocations: 11.2 MB / 3.388 GB, free: 37.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/9.206, allocations: 0 / 3.388 GB, free: 37.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01608/9.222, allocations: 2.91 MB / 3.391 GB, free: 34.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005609/9.227, allocations: 0.6416 MB / 3.392 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/9.262, allocations: 7.948 MB / 3.4 GB, free: 26.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002343/9.264, allocations: 2.098 MB / 3.402 GB, free: 23.91 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00894/9.273, allocations: 1.429 MB / 3.403 GB, free: 22.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/9.275, allocations: 231.2 kB / 3.403 GB, free: 22.25 MB / 0.8855 GB Notification: Performance of SimCode: time 1.613e-06/9.275, allocations: 0 / 3.403 GB, free: 22.25 MB / 0.8855 GB Notification: Performance of Templates: time 0.7743/10.05, allocations: 75.78 MB / 3.477 GB, free: 250 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)