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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0012/0.0012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001269/0.001269, allocations: 190.4 kB / 16.25 MB, free: 6.633 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.413/3.413, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 71.2 kB / 0.8987 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.361, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.00827/0.3693, allocations: 3.134 MB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009103/0.3784, allocations: 3.294 MB / 1.059 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.3791, allocations: 7.938 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.3819, allocations: 0.5444 MB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.3826, allocations: 123.2 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.3863, allocations: 0.6406 MB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003344/0.3897, allocations: 1.703 MB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006754/0.3904, allocations: 257.2 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.3918, allocations: 0.5879 MB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.3933, allocations: 0.6305 MB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005886/0.3939, allocations: 136 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.3961, allocations: 0.636 MB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.3972, allocations: 0.6274 MB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.3993, allocations: 0.8902 MB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004904/0.4042, allocations: 3.393 MB / 1.069 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4042, allocations: 0 / 1.069 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.202e-06/0.4043, allocations: 8 kB / 1.069 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.795e-05/0.4043, allocations: 3.938 kB / 1.069 GB, free: 7.949 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.004275/0.4086, allocations: 2.164 MB / 1.071 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.4087, allocations: 12.61 kB / 1.071 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.4088, allocations: 78.72 kB / 1.071 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/0.4156, allocations: 0.6426 MB / 1.071 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.4191, allocations: 1.627 MB / 1.073 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.4193, allocations: 132.5 kB / 1.073 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.4194, allocations: 32.38 kB / 1.073 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/0.4233, allocations: 1.887 MB / 1.075 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4233, allocations: 0 / 1.075 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.4234, allocations: 12 kB / 1.075 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4234, allocations: 8 kB / 1.075 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005599/0.429, allocations: 2.626 MB / 1.078 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008432/0.4375, allocations: 4.616 MB / 1.082 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.4482, allocations: 2.886 MB / 1.085 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.4508, allocations: 1.189 MB / 1.086 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.473e-05/0.4509, allocations: 12.42 kB / 1.086 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00359/0.4545, allocations: 1.788 MB / 1.088 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 3.967e-06/0.4545, allocations: 4 kB / 1.088 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.008372/0.4629, allocations: 3.633 MB / 1.091 GB, free: 320 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.463, allocations: 101.6 kB / 1.092 GB, free: 200 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004263/0.4673, allocations: 2.755 MB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003096/0.4676, allocations: 57.69 kB / 1.094 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/0.4683, allocations: 0.6932 MB / 1.095 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.4686, allocations: 177.5 kB / 1.095 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.469, allocations: 154.1 kB / 1.095 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4691, allocations: 333.9 kB / 1.096 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.4719, allocations: 1.458 MB / 1.097 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.4747, allocations: 1.43 MB / 1.098 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005074/0.4798, allocations: 2.219 MB / 1.101 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4799, allocations: 7.875 kB / 1.101 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006523/0.4864, allocations: 2.972 MB / 1.103 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.4865, allocations: 79.38 kB / 1.104 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4866, allocations: 3.984 kB / 1.104 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4866, allocations: 8 kB / 1.104 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.488, allocations: 187.7 kB / 1.104 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.488, allocations: 0 / 1.104 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.4897, allocations: 119.4 kB / 1.104 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.4899, allocations: 43.89 kB / 1.104 GB, free: 3.391 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.001355/0.4912, allocations: 0.7763 MB / 1.105 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006059/0.4919, allocations: 177.8 kB / 1.105 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/0.4982, allocations: 2.673 MB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4982, allocations: 7.984 kB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4982, allocations: 4 kB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4982, allocations: 0 / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.5016, allocations: 2.326 MB / 1.11 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5016, allocations: 0 / 1.11 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.503, allocations: 179.7 kB / 1.11 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.5031, allocations: 0 / 1.11 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.5032, allocations: 43.94 kB / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.5032, allocations: 7.938 kB / 1.11 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5032, allocations: 3.984 kB / 1.11 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/0.509, allocations: 2.551 MB / 1.112 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.5103, allocations: 0.5767 MB / 1.113 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/0.5106, allocations: 67.91 kB / 1.113 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.5121, allocations: 115.8 kB / 1.113 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.5124, allocations: 52.5 kB / 1.113 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.5126, allocations: 47.94 kB / 1.113 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003/0.5156, allocations: 1.984 MB / 1.115 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5156, allocations: 0 / 1.115 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001456/0.5171, allocations: 375.8 kB / 1.116 GB, free: 7.273 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.006681/0.5238, allocations: 3.271 MB / 1.119 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006289/0.5301, allocations: 3.149 MB / 1.122 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5301, allocations: 0 / 1.122 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002883/0.533, allocations: 1.342 MB / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.5351, allocations: 465.8 kB / 1.124 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06066/0.5958, allocations: 30.85 MB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.5974, allocations: 1.6 MB / 1.155 GB, free: 13.44 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002414/0.5999, allocations: 0.5954 MB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.6011, allocations: 0.5851 MB / 1.156 GB, free: 12.25 MB / 0.92 GB Notification: Performance of SimCode: time 1.052e-06/0.6011, allocations: 0 / 1.156 GB, free: 12.25 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/0.7237, allocations: 50.24 MB / 1.205 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003447/0.7241, allocations: 212.5 kB / 1.206 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/4.032, allocations: 0 / 1.206 GB, free: 10.21 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)