Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.577/2.577, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001704/0.001703, allocations: 179 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001687/0.001687, allocations: 100.3 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004989, allocations: 17.2 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2282, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.829/7.057, allocations: 2.07 GB / 3.049 GB, free: 204.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003821/7.057, allocations: 111.2 kB / 3.049 GB, free: 204.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1464/7.204, allocations: 41.93 MB / 3.09 GB, free: 168.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.465e-06/7.204, allocations: 0 / 3.09 GB, free: 168.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.295e-05/7.204, allocations: 20 kB / 3.09 GB, free: 168.1 MB / 0.948 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.004635/7.208, allocations: 1.871 MB / 3.092 GB, free: 166.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/7.209, allocations: 16.02 kB / 3.092 GB, free: 166.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004357/7.209, allocations: 80.47 kB / 3.092 GB, free: 166.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/7.22, allocations: 0.6451 MB / 3.092 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/7.224, allocations: 1.708 MB / 3.094 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/7.225, allocations: 150.5 kB / 3.094 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/7.225, allocations: 35.62 kB / 3.094 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006962/7.232, allocations: 2.164 MB / 3.096 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/7.232, allocations: 0 / 3.096 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/7.232, allocations: 26.19 kB / 3.096 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/7.232, allocations: 4 kB / 3.096 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/7.244, allocations: 3.137 MB / 3.099 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/7.259, allocations: 5.126 MB / 3.104 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/7.279, allocations: 3.401 MB / 3.108 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/7.279, allocations: 24.36 kB / 3.108 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006501/7.285, allocations: 2.058 MB / 3.11 GB, free: 151.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 5.54e-06/7.285, allocations: 0 / 3.11 GB, free: 151.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.01634/7.302, allocations: 4.365 MB / 3.114 GB, free: 147.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/7.302, allocations: 93.73 kB / 3.114 GB, free: 147.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005224/7.307, allocations: 2.46 MB / 3.117 GB, free: 144.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006214/7.308, allocations: 49.7 kB / 3.117 GB, free: 144.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000855/7.309, allocations: 0.6653 MB / 3.117 GB, free: 144 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/7.309, allocations: 181.5 kB / 3.117 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/7.309, allocations: 12 kB / 3.117 GB, free: 143.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/7.309, allocations: 330 kB / 3.118 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005499/7.315, allocations: 1.751 MB / 3.119 GB, free: 141.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005611/7.321, allocations: 1.731 MB / 3.121 GB, free: 140 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005197/7.326, allocations: 1.466 MB / 3.123 GB, free: 138.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/7.326, allocations: 3.938 kB / 3.123 GB, free: 138.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.01217/7.338, allocations: 3.565 MB / 3.126 GB, free: 134.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/7.338, allocations: 91.33 kB / 3.126 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/7.338, allocations: 3.984 kB / 3.126 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/7.338, allocations: 0 / 3.126 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/7.341, allocations: 227.7 kB / 3.126 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/7.341, allocations: 4 kB / 3.126 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/7.344, allocations: 111.6 kB / 3.126 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/7.344, allocations: 115.9 kB / 3.127 GB, free: 134.4 MB / 0.948 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.001969/7.346, allocations: 0.7703 MB / 3.127 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/7.347, allocations: 165.9 kB / 3.127 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/7.359, allocations: 3.218 MB / 3.131 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/7.359, allocations: 4 kB / 3.131 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/7.359, allocations: 0 / 3.131 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/7.359, allocations: 3.984 kB / 3.131 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/7.364, allocations: 2.516 MB / 3.133 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/7.364, allocations: 4 kB / 3.133 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002884/7.367, allocations: 215.7 kB / 3.133 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/7.367, allocations: 4 kB / 3.133 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/7.367, allocations: 55.92 kB / 3.133 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/7.367, allocations: 4 kB / 3.133 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/7.367, allocations: 3.938 kB / 3.133 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/7.378, allocations: 2.976 MB / 3.136 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/7.381, allocations: 0.7721 MB / 3.137 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006683/7.381, allocations: 59.97 kB / 3.137 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/7.385, allocations: 147.8 kB / 3.137 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/7.385, allocations: 60.47 kB / 3.137 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000341/7.385, allocations: 111.9 kB / 3.137 GB, free: 123.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004118/7.389, allocations: 1.919 MB / 3.139 GB, free: 121.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/7.389, allocations: 4 kB / 3.139 GB, free: 121.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002501/7.392, allocations: 451.6 kB / 3.14 GB, free: 120.8 MB / 0.948 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.01275/7.405, allocations: 3.875 MB / 3.143 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01183/7.417, allocations: 3.551 MB / 3.147 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/7.417, allocations: 3.938 kB / 3.147 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005715/7.422, allocations: 1.568 MB / 3.148 GB, free: 111.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/7.425, allocations: 401.9 kB / 3.149 GB, free: 111.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05483/7.48, allocations: 19.06 MB / 3.167 GB, free: 91.75 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/7.482, allocations: 1.608 MB / 3.169 GB, free: 90.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004316/7.486, allocations: 0.7902 MB / 3.17 GB, free: 89.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/7.488, allocations: 0.5812 MB / 3.17 GB, free: 88.74 MB / 0.948 GB Notification: Performance of SimCode: time 1.874e-06/7.488, allocations: 0 / 3.17 GB, free: 88.74 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/7.6, allocations: 51.95 MB / 3.221 GB, free: 37.07 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/7.601, allocations: 239.3 kB / 3.221 GB, free: 36.83 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.185/11.79, allocations: 0 / 3.221 GB, free: 36.83 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)