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.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.00135/0.001351, allocations: 171.8 kB / 326.5 MB, free: 2.27 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.042/2.042, 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.001072/0.001072, allocations: 97.52 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 12.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.888/5.129, allocations: 2.189 GB / 3.089 GB, free: 31.35 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/5.13, allocations: 105 kB / 3.089 GB, free: 31.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6108/5.74, allocations: 41.94 MB / 3.13 GB, free: 321 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.773e-06/5.741, allocations: 0 / 3.13 GB, free: 321 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.651e-05/5.741, allocations: 20.06 kB / 3.13 GB, free: 321 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003877/5.745, allocations: 1.879 MB / 3.132 GB, free: 319.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/5.745, allocations: 8.969 kB / 3.132 GB, free: 319.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/5.745, allocations: 78.08 kB / 3.132 GB, free: 319.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006518/5.751, allocations: 0.647 MB / 3.132 GB, free: 319.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/5.756, allocations: 1.71 MB / 3.134 GB, free: 319.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/5.756, allocations: 148.9 kB / 3.134 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/5.756, allocations: 31.78 kB / 3.134 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/5.761, allocations: 2.164 MB / 3.136 GB, free: 319.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/5.761, allocations: 3.719 kB / 3.136 GB, free: 319.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/5.761, allocations: 11.06 kB / 3.136 GB, free: 319.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/5.761, allocations: 6.969 kB / 3.136 GB, free: 319.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006755/5.768, allocations: 3.149 MB / 3.139 GB, free: 319.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/5.78, allocations: 5.121 MB / 3.144 GB, free: 318.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/5.79, allocations: 3.393 MB / 3.148 GB, free: 318.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-05/5.79, allocations: 18.89 kB / 3.148 GB, free: 318.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004089/5.794, allocations: 2.07 MB / 3.15 GB, free: 318.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.757e-06/5.794, allocations: 0 / 3.15 GB, free: 318.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.01027/5.805, allocations: 4.36 MB / 3.154 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/5.805, allocations: 97.27 kB / 3.154 GB, free: 317.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/5.808, allocations: 2.463 MB / 3.157 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003699/5.809, allocations: 49.39 kB / 3.157 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/5.809, allocations: 0.6626 MB / 3.157 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/5.81, allocations: 184.6 kB / 3.157 GB, free: 316 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/5.81, allocations: 15.19 kB / 3.157 GB, free: 316 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.89e-05/5.81, allocations: 327.8 kB / 3.158 GB, free: 315.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/5.813, allocations: 1.752 MB / 3.16 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/5.815, allocations: 1.731 MB / 3.161 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/5.818, allocations: 1.465 MB / 3.163 GB, free: 313.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/5.818, allocations: 0 / 3.163 GB, free: 313.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00659/5.825, allocations: 3.565 MB / 3.166 GB, free: 312.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/5.825, allocations: 85.44 kB / 3.166 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/5.825, allocations: 3.531 kB / 3.166 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/5.825, allocations: 3.953 kB / 3.166 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/5.826, allocations: 231.1 kB / 3.166 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/5.826, allocations: 3.75 kB / 3.166 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/5.828, allocations: 108.1 kB / 3.167 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/5.828, allocations: 121.5 kB / 3.167 GB, free: 312.3 MB / 0.8855 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 () * Number of clocked 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.001692/5.83, allocations: 0.7617 MB / 3.167 GB, free: 312 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007756/5.831, allocations: 176.1 kB / 3.168 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/5.838, allocations: 3.21 MB / 3.171 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/5.838, allocations: 11.64 kB / 3.171 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/5.838, allocations: 0 / 3.171 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/5.838, allocations: 3.844 kB / 3.171 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/5.842, allocations: 2.515 MB / 3.173 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/5.842, allocations: 0 / 3.173 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/5.843, allocations: 216.2 kB / 3.173 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/5.843, allocations: 4 kB / 3.173 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/5.844, allocations: 54.33 kB / 3.173 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/5.844, allocations: 7.938 kB / 3.173 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/5.844, allocations: 0 / 3.173 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/5.849, allocations: 2.977 MB / 3.176 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/5.851, allocations: 0.7762 MB / 3.177 GB, free: 305.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005972/5.852, allocations: 55.89 kB / 3.177 GB, free: 305.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/5.854, allocations: 149.8 kB / 3.177 GB, free: 305.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/5.854, allocations: 59.81 kB / 3.177 GB, free: 305.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/5.854, allocations: 115.2 kB / 3.177 GB, free: 305.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00311/5.857, allocations: 1.918 MB / 3.179 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/5.857, allocations: 4 kB / 3.179 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00199/5.859, allocations: 455.7 kB / 3.18 GB, free: 303.2 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: 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]) * Number of clocked states: 0 () * 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.007185/5.866, allocations: 3.878 MB / 3.184 GB, free: 299.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005783/5.872, allocations: 3.547 MB / 3.187 GB, free: 295.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/5.872, allocations: 0 / 3.187 GB, free: 295.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/5.875, allocations: 1.572 MB / 3.189 GB, free: 294.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/5.877, allocations: 404.1 kB / 3.189 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/5.911, allocations: 19.05 MB / 3.208 GB, free: 274.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/5.912, allocations: 1.611 MB / 3.209 GB, free: 272.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002843/5.915, allocations: 0.789 MB / 3.21 GB, free: 271.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/5.916, allocations: 0.5812 MB / 3.21 GB, free: 271.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.593e-06/5.917, allocations: 0 / 3.21 GB, free: 271.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07416/5.991, allocations: 51.97 MB / 3.261 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/5.991, allocations: 251 kB / 3.261 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.451/9.442, allocations: 3.094 kB / 3.261 GB, free: 219.5 MB / 0.8855 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)