Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_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.001251/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001322/0.001322, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 461.9 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 64.59 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2496, allocations: 157.4 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004099/0.2537, allocations: 3.121 MB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003987/0.2578, allocations: 3.372 MB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2579, allocations: 8 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.2591, allocations: 0.5522 MB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.2594, allocations: 119.2 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2606, allocations: 0.5915 MB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.2619, allocations: 1.576 MB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.2622, allocations: 245.3 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.2626, allocations: 0.5255 MB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.2632, allocations: 0.6032 MB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.2634, allocations: 84 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008031/0.2642, allocations: 0.5813 MB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.2646, allocations: 0.5726 MB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006761/0.2653, allocations: 0.8277 MB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.2678, allocations: 3.326 MB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2678, allocations: 3.938 kB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2679, allocations: 4 kB / 1.068 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.2679, allocations: 0 / 1.068 GB, free: 7.984 MB / 0.8262 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.00294/0.2708, allocations: 2.17 MB / 1.07 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2709, allocations: 15.97 kB / 1.07 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.271, allocations: 74.72 kB / 1.07 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006034/0.277, allocations: 0.6465 MB / 1.071 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.2791, allocations: 1.631 MB / 1.072 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.2793, allocations: 132.5 kB / 1.072 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2794, allocations: 28.38 kB / 1.073 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/0.2828, allocations: 1.895 MB / 1.074 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2828, allocations: 3.984 kB / 1.074 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.2829, allocations: 12 kB / 1.074 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2829, allocations: 8 kB / 1.074 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005085/0.288, allocations: 2.618 MB / 1.077 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006852/0.2949, allocations: 4.604 MB / 1.081 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009891/0.3048, allocations: 2.897 MB / 1.084 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.307, allocations: 1.181 MB / 1.085 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.223e-05/0.307, allocations: 20.41 kB / 1.085 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003003/0.31, allocations: 1.784 MB / 1.087 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 2.474e-06/0.3101, allocations: 0 / 1.087 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.007133/0.3172, allocations: 3.637 MB / 1.091 GB, free: 348 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3173, allocations: 93.66 kB / 1.091 GB, free: 236 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.3205, allocations: 2.755 MB / 1.094 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.3207, allocations: 53.69 kB / 1.094 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006479/0.3213, allocations: 0.7048 MB / 1.094 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.3215, allocations: 181.5 kB / 1.094 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.3219, allocations: 154.1 kB / 1.095 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.322, allocations: 337.9 kB / 1.095 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.3245, allocations: 1.45 MB / 1.096 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.327, allocations: 1.434 MB / 1.098 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/0.3313, allocations: 2.215 MB / 1.1 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3313, allocations: 0 / 1.1 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005327/0.3366, allocations: 2.983 MB / 1.103 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/0.3367, allocations: 79.38 kB / 1.103 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3367, allocations: 0 / 1.103 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3367, allocations: 3.938 kB / 1.103 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.338, allocations: 187.7 kB / 1.103 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.338, allocations: 4 kB / 1.103 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.3392, allocations: 119.4 kB / 1.103 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.3393, allocations: 55.81 kB / 1.103 GB, free: 3.406 MB / 0.8575 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.0009084/0.3402, allocations: 0.7685 MB / 1.104 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.3405, allocations: 177.8 kB / 1.104 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005298/0.3458, allocations: 2.665 MB / 1.107 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.3459, allocations: 8 kB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3459, allocations: 0 / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3459, allocations: 4 kB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.3482, allocations: 2.326 MB / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3482, allocations: 0 / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.3495, allocations: 179.7 kB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3495, allocations: 4 kB / 1.109 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-05/0.3496, allocations: 35.94 kB / 1.109 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3496, allocations: 4 kB / 1.109 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3496, allocations: 7.984 kB / 1.109 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/0.3546, allocations: 2.559 MB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008513/0.3555, allocations: 0.5767 MB / 1.112 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.3558, allocations: 59.97 kB / 1.112 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.3572, allocations: 123.8 kB / 1.112 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.3573, allocations: 56.48 kB / 1.113 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.3574, allocations: 43.94 kB / 1.113 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002508/0.36, allocations: 1.98 MB / 1.115 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.36, allocations: 4 kB / 1.115 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009396/0.3609, allocations: 375.8 kB / 1.115 GB, free: 7.297 MB / 0.8731 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.005729/0.3666, allocations: 3.262 MB / 1.118 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005119/0.3718, allocations: 2.977 MB / 1.121 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3718, allocations: 3.938 kB / 1.121 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.3742, allocations: 1.342 MB / 1.122 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.3759, allocations: 457.4 kB / 1.123 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05205/0.4279, allocations: 30.83 MB / 1.153 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.4293, allocations: 1.604 MB / 1.154 GB, free: 13.66 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002061/0.4314, allocations: 0.6071 MB / 1.155 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009954/0.4324, allocations: 0.5773 MB / 1.156 GB, free: 12.48 MB / 0.92 GB Notification: Performance of SimCode: time 4.01e-07/0.4324, allocations: 4 kB / 1.156 GB, free: 12.47 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09485/0.5272, allocations: 49.25 MB / 1.204 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.5274, allocations: 221 kB / 1.204 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.067, allocations: 0 / 1.204 GB, free: 11.38 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)