Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007791/0.0007791, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005911/0.005911, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 12 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5586, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.003413/0.562, allocations: 2.749 MB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00444/0.5665, allocations: 3.329 MB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.5666, allocations: 7.875 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.5679, allocations: 0.5367 MB / 1.03 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.5682, allocations: 123.1 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.5695, allocations: 0.5881 MB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.5709, allocations: 1.578 MB / 1.032 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.5713, allocations: 249.3 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.5719, allocations: 0.5137 MB / 1.033 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.5726, allocations: 0.5837 MB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.5728, allocations: 84 kB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007867/0.5736, allocations: 0.5696 MB / 1.034 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.574, allocations: 0.5688 MB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006852/0.5747, allocations: 0.8372 MB / 1.035 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.5778, allocations: 3.263 MB / 1.038 GB, free: 216 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5778, allocations: 0 / 1.038 GB, free: 216 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5779, allocations: 4 kB / 1.038 GB, free: 212 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.5779, allocations: 0 / 1.038 GB, free: 212 kB / 0.7794 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.002717/0.5806, allocations: 1.848 MB / 1.04 GB, free: 14.29 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5806, allocations: 8.031 kB / 1.04 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.5808, allocations: 78.7 kB / 1.04 GB, free: 14.2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006364/0.5871, allocations: 0.6738 MB / 1.041 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.5895, allocations: 1.624 MB / 1.042 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.5898, allocations: 132.5 kB / 1.043 GB, free: 11.68 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.59, allocations: 28.38 kB / 1.043 GB, free: 11.66 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.5936, allocations: 1.911 MB / 1.044 GB, free: 9.738 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5936, allocations: 4 kB / 1.044 GB, free: 9.734 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.5937, allocations: 16 kB / 1.045 GB, free: 9.719 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.5937, allocations: 8 kB / 1.045 GB, free: 9.711 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005673/0.5994, allocations: 2.653 MB / 1.047 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007536/0.6069, allocations: 4.655 MB / 1.052 GB, free: 2.328 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.6178, allocations: 2.987 MB / 1.055 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.6204, allocations: 1.205 MB / 1.056 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.6204, allocations: 16.42 kB / 1.056 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003505/0.6239, allocations: 1.804 MB / 1.058 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.845e-06/0.624, allocations: 4 kB / 1.058 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.008159/0.6322, allocations: 3.696 MB / 1.061 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.6322, allocations: 97.66 kB / 1.061 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.6357, allocations: 2.755 MB / 1.064 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.6358, allocations: 57.69 kB / 1.064 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007124/0.6365, allocations: 0.6971 MB / 1.065 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.6367, allocations: 189.4 kB / 1.065 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.6369, allocations: 57.69 kB / 1.065 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.637, allocations: 337.9 kB / 1.065 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/0.6398, allocations: 1.466 MB / 1.067 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/0.6426, allocations: 1.461 MB / 1.068 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/0.6474, allocations: 2.25 MB / 1.07 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6474, allocations: 0 / 1.07 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005847/0.6533, allocations: 3.03 MB / 1.073 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/0.6534, allocations: 83.38 kB / 1.073 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.6534, allocations: 0 / 1.073 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6534, allocations: 4 kB / 1.073 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.6548, allocations: 195.7 kB / 1.074 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.6548, allocations: 3.984 kB / 1.074 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.6561, allocations: 119.6 kB / 1.074 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.6562, allocations: 51.88 kB / 1.074 GB, free: 11.59 MB / 0.8262 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 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009466/0.6571, allocations: 0.7768 MB / 1.074 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.6574, allocations: 181.7 kB / 1.075 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/0.6633, allocations: 2.708 MB / 1.077 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6633, allocations: 8 kB / 1.077 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6633, allocations: 4 kB / 1.077 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.6634, allocations: 3.984 kB / 1.077 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.6658, allocations: 2.33 MB / 1.08 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6658, allocations: 0 / 1.08 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.6672, allocations: 199.6 kB / 1.08 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6672, allocations: 0 / 1.08 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/0.6673, allocations: 39.94 kB / 1.08 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6673, allocations: 0 / 1.08 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6673, allocations: 3.938 kB / 1.08 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/0.6728, allocations: 2.594 MB / 1.082 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008477/0.6736, allocations: 0.5844 MB / 1.083 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.6739, allocations: 55.97 kB / 1.083 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.6754, allocations: 147.8 kB / 1.083 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.6756, allocations: 56.48 kB / 1.083 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.6757, allocations: 47.94 kB / 1.083 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002513/0.6782, allocations: 1.987 MB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6782, allocations: 0 / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009227/0.6791, allocations: 367.8 kB / 1.085 GB, free: 15.35 MB / 0.8419 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.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.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.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006166/0.6853, allocations: 3.302 MB / 1.089 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00582/0.6911, allocations: 3.024 MB / 1.092 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6912, allocations: 0 / 1.092 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.6939, allocations: 1.377 MB / 1.093 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.6956, allocations: 443.5 kB / 1.093 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06043/0.756, allocations: 30.97 MB / 1.124 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/0.7584, allocations: 1.6 MB / 1.125 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003896/0.7623, allocations: 0.6148 MB / 1.126 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/0.764, allocations: 0.5812 MB / 1.126 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.7641, allocations: 0 / 1.126 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08007/0.8441, allocations: 48.53 MB / 1.174 GB, free: 4.195 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.8443, allocations: 207.5 kB / 1.174 GB, free: 3.938 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.566, allocations: 0 / 1.174 GB, free: 3.938 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)