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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001342/0.001342, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001314/0.001314, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5132, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004311/0.5175, allocations: 3.125 MB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004287/0.5218, allocations: 3.297 MB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.5221, allocations: 11.88 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.5235, allocations: 0.5445 MB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.5238, allocations: 119.2 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.5254, allocations: 0.6469 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.5271, allocations: 1.702 MB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.5274, allocations: 250.7 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/0.5282, allocations: 0.5957 MB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007951/0.529, allocations: 0.6228 MB / 1.028 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.5292, allocations: 136 kB / 1.028 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009512/0.5302, allocations: 0.6477 MB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.5307, allocations: 0.6156 MB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009192/0.5317, allocations: 0.8863 MB / 1.03 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.5345, allocations: 3.4 MB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5346, allocations: 0 / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5346, allocations: 0 / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.496e-05/0.5346, allocations: 0 / 1.033 GB, free: 2.078 MB / 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.003359/0.538, allocations: 2.168 MB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.538, allocations: 8.031 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.5381, allocations: 82.59 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006165/0.5443, allocations: 0.6466 MB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.5465, allocations: 1.635 MB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.5466, allocations: 136.5 kB / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.5468, allocations: 28.38 kB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.5502, allocations: 1.891 MB / 1.04 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5502, allocations: 0 / 1.04 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.5503, allocations: 12 kB / 1.04 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5503, allocations: 4 kB / 1.04 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.5556, allocations: 2.626 MB / 1.042 GB, free: 8.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006852/0.5625, allocations: 4.604 MB / 1.047 GB, free: 3.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.5728, allocations: 2.889 MB / 1.049 GB, free: 1.094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.5751, allocations: 1.193 MB / 1.051 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.336e-05/0.5752, allocations: 12.42 kB / 1.051 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003103/0.5783, allocations: 1.785 MB / 1.052 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.325e-06/0.5783, allocations: 0 / 1.052 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.00762/0.5859, allocations: 3.637 MB / 1.056 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.586, allocations: 105.6 kB / 1.056 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/0.5893, allocations: 2.755 MB / 1.059 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.5894, allocations: 53.69 kB / 1.059 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.5901, allocations: 0.6933 MB / 1.059 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.5903, allocations: 181.4 kB / 1.06 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/0.5906, allocations: 154.1 kB / 1.06 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5907, allocations: 333.9 kB / 1.06 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.5934, allocations: 1.458 MB / 1.062 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.596, allocations: 1.434 MB / 1.063 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00447/0.6005, allocations: 2.207 MB / 1.065 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6005, allocations: 7.938 kB / 1.065 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005675/0.6062, allocations: 2.983 MB / 1.068 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.6063, allocations: 83.38 kB / 1.068 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6063, allocations: 0 / 1.068 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.6063, allocations: 0 / 1.068 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.6076, allocations: 187.7 kB / 1.068 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6077, allocations: 4 kB / 1.068 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.6089, allocations: 103.6 kB / 1.068 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.609, allocations: 47.88 kB / 1.068 GB, free: 13.51 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.0009242/0.6099, allocations: 0.7807 MB / 1.069 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.6102, allocations: 185.7 kB / 1.069 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005689/0.6159, allocations: 2.665 MB / 1.072 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.616, allocations: 8 kB / 1.072 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.616, allocations: 4 kB / 1.072 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.616, allocations: 3.984 kB / 1.072 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.6184, allocations: 2.33 MB / 1.074 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.6185, allocations: 4 kB / 1.074 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.6198, allocations: 179.7 kB / 1.074 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6198, allocations: 4 kB / 1.074 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.6199, allocations: 35.94 kB / 1.074 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6199, allocations: 7.938 kB / 1.074 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6199, allocations: 3.938 kB / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/0.6252, allocations: 2.555 MB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008375/0.626, allocations: 0.5805 MB / 1.078 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.6263, allocations: 59.97 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6278, allocations: 119.9 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6279, allocations: 60.47 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.628, allocations: 47.94 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002508/0.6306, allocations: 1.98 MB / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6306, allocations: 0 / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009526/0.6315, allocations: 379.8 kB / 1.08 GB, free: 1.375 MB / 0.8262 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.005984/0.6375, allocations: 3.255 MB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005769/0.6433, allocations: 3.145 MB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6433, allocations: 0 / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.6459, allocations: 1.353 MB / 1.088 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.6475, allocations: 462 kB / 1.088 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05244/0.6999, allocations: 30.84 MB / 1.118 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.7012, allocations: 1.604 MB / 1.12 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002008/0.7032, allocations: 0.5954 MB / 1.12 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009766/0.7042, allocations: 0.589 MB / 1.121 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.7042, allocations: 0 / 1.121 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/0.8307, allocations: 50.26 MB / 1.17 GB, free: 4.59 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.8309, allocations: 202.4 kB / 1.17 GB, free: 4.336 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.481, allocations: 0 / 1.17 GB, free: 4.336 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)