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.DryCoil.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 249.3 MB / 261.8 MB, free: 5.914 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.001001/0.001001, allocations: 180.8 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.7 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.001088/0.001088, allocations: 96.2 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.397e-05/4.399e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.261, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.368/6.63, allocations: 2.189 GB / 3.08 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/6.63, allocations: 107.9 kB / 3.081 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08461/6.715, allocations: 41.86 MB / 3.121 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.483e-06/6.715, allocations: 0 / 3.121 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.921e-05/6.715, allocations: 24 kB / 3.121 GB, free: 103.1 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002157/6.717, allocations: 1.438 MB / 3.123 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/6.717, allocations: 12.03 kB / 3.123 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/6.717, allocations: 74.47 kB / 3.123 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005776/6.723, allocations: 0.6457 MB / 3.124 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/6.726, allocations: 1.705 MB / 3.125 GB, free: 99.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/6.726, allocations: 144.1 kB / 3.125 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/6.726, allocations: 35.94 kB / 3.125 GB, free: 98.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/6.729, allocations: 2.002 MB / 3.127 GB, free: 96.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/6.729, allocations: 0 / 3.127 GB, free: 96.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/6.729, allocations: 19.94 kB / 3.127 GB, free: 96.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/6.729, allocations: 4 kB / 3.127 GB, free: 96.85 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/6.732, allocations: 2.822 MB / 3.13 GB, free: 94.02 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008695/6.741, allocations: 5.111 MB / 3.135 GB, free: 88.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007595/6.748, allocations: 3.12 MB / 3.138 GB, free: 85.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/6.75, allocations: 1.251 MB / 3.139 GB, free: 84.47 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.764e-05/6.75, allocations: 16.41 kB / 3.139 GB, free: 84.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/6.752, allocations: 1.902 MB / 3.141 GB, free: 82.53 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 4.188e-06/6.752, allocations: 0 / 3.141 GB, free: 82.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.003641/6.756, allocations: 2.587 MB / 3.144 GB, free: 79.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/6.756, allocations: 85.67 kB / 3.144 GB, free: 79.83 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/6.759, allocations: 2.441 MB / 3.146 GB, free: 77.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/6.759, allocations: 53.7 kB / 3.146 GB, free: 77.33 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/6.76, allocations: 0.6614 MB / 3.147 GB, free: 76.67 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/6.76, allocations: 193.5 kB / 3.147 GB, free: 76.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/6.76, allocations: 8 kB / 3.147 GB, free: 76.47 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/6.76, allocations: 330 kB / 3.148 GB, free: 76.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/6.762, allocations: 1.591 MB / 3.149 GB, free: 74.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/6.763, allocations: 1.567 MB / 3.151 GB, free: 72.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/6.764, allocations: 1.299 MB / 3.152 GB, free: 71.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/6.764, allocations: 0 / 3.152 GB, free: 71.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003739/6.768, allocations: 3.245 MB / 3.155 GB, free: 68.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/6.768, allocations: 87.31 kB / 3.155 GB, free: 68.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/6.768, allocations: 4 kB / 3.155 GB, free: 68.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/6.768, allocations: 4 kB / 3.155 GB, free: 68.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/6.77, allocations: 227.7 kB / 3.155 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/6.77, allocations: 4 kB / 3.155 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/6.771, allocations: 115.6 kB / 3.155 GB, free: 67.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/6.772, allocations: 111.9 kB / 3.156 GB, free: 67.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],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 (58): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000446/6.772, allocations: 186.6 kB / 3.156 GB, free: 67.65 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/6.772, allocations: 177.9 kB / 3.156 GB, free: 67.47 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/6.776, allocations: 2.902 MB / 3.159 GB, free: 64.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/6.776, allocations: 11.98 kB / 3.159 GB, free: 64.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/6.776, allocations: 0 / 3.159 GB, free: 64.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/6.776, allocations: 0 / 3.159 GB, free: 64.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/6.779, allocations: 2.504 MB / 3.161 GB, free: 61.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/6.779, allocations: 3.984 kB / 3.161 GB, free: 61.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/6.78, allocations: 227.7 kB / 3.161 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/6.78, allocations: 0 / 3.161 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/6.781, allocations: 51.94 kB / 3.161 GB, free: 61.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/6.781, allocations: 0 / 3.161 GB, free: 61.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/6.781, allocations: 3.984 kB / 3.161 GB, free: 61.71 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/6.784, allocations: 2.652 MB / 3.164 GB, free: 59.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/6.785, allocations: 0.7721 MB / 3.165 GB, free: 58.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/6.786, allocations: 59.98 kB / 3.165 GB, free: 58.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/6.787, allocations: 147.8 kB / 3.165 GB, free: 58.03 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/6.787, allocations: 64.45 kB / 3.165 GB, free: 57.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/6.787, allocations: 111.9 kB / 3.165 GB, free: 57.86 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002483/6.79, allocations: 1.895 MB / 3.167 GB, free: 55.97 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/6.79, allocations: 3.938 kB / 3.167 GB, free: 55.96 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00141/6.791, allocations: 463.7 kB / 3.167 GB, free: 55.51 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],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,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00432/6.796, allocations: 3.551 MB / 3.171 GB, free: 51.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003369/6.799, allocations: 3.228 MB / 3.174 GB, free: 48.68 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/6.799, allocations: 0 / 3.174 GB, free: 48.68 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/6.801, allocations: 1.412 MB / 3.175 GB, free: 47.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/6.803, allocations: 401.8 kB / 3.176 GB, free: 46.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/6.811, allocations: 4.203 MB / 3.18 GB, free: 42.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/6.813, allocations: 1.611 MB / 3.182 GB, free: 40.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002604/6.815, allocations: 0.7863 MB / 3.182 GB, free: 40.17 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/6.817, allocations: 0.5812 MB / 3.183 GB, free: 39.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/6.817, allocations: 0 / 3.183 GB, free: 39.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6429/7.46, allocations: 51.63 MB / 3.233 GB, free: 285.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/7.46, allocations: 220.2 kB / 3.233 GB, free: 285.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.633/11.09, allocations: 2.344 kB / 3.233 GB, free: 285.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)