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.001514/0.001514, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7347 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.3 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2463, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004447/0.2508, allocations: 3.092 MB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004488/0.2553, allocations: 3.34 MB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.2556, allocations: 4 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.2569, allocations: 0.5636 MB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.2572, allocations: 135 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.2589, allocations: 0.7033 MB / 1.061 GB, free: 420 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.2604, allocations: 1.669 MB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.2608, allocations: 253.2 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006587/0.2614, allocations: 0.5879 MB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.2622, allocations: 0.6033 MB / 1.064 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002812/0.2625, allocations: 136 kB / 1.064 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.2635, allocations: 0.6477 MB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005324/0.264, allocations: 0.6234 MB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009262/0.265, allocations: 0.8746 MB / 1.066 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.2679, allocations: 3.396 MB / 1.069 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2679, allocations: 0 / 1.069 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2679, allocations: 0 / 1.069 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.293e-05/0.268, allocations: 4 kB / 1.069 GB, free: 7.586 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.003488/0.2715, allocations: 2.168 MB / 1.071 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2715, allocations: 8.625 kB / 1.071 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.2716, allocations: 78.72 kB / 1.071 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.2777, allocations: 0.6543 MB / 1.072 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.28, allocations: 1.624 MB / 1.074 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.2802, allocations: 136.5 kB / 1.074 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2803, allocations: 32.38 kB / 1.074 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.2837, allocations: 1.883 MB / 1.076 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.2838, allocations: 0 / 1.076 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.2839, allocations: 15.98 kB / 1.076 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.2839, allocations: 8 kB / 1.076 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005342/0.2892, allocations: 2.626 MB / 1.078 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007189/0.2964, allocations: 4.604 MB / 1.083 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.3068, allocations: 2.889 MB / 1.085 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.3092, allocations: 1.193 MB / 1.087 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.025e-05/0.3092, allocations: 16.42 kB / 1.087 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003209/0.3125, allocations: 1.781 MB / 1.088 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 2.765e-06/0.3125, allocations: 4 kB / 1.088 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.008199/0.3207, allocations: 3.633 MB / 1.092 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.3208, allocations: 101.7 kB / 1.092 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.3248, allocations: 2.759 MB / 1.095 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.325, allocations: 53.69 kB / 1.095 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.3257, allocations: 0.6932 MB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.3259, allocations: 181.5 kB / 1.096 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.3263, allocations: 154.1 kB / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3264, allocations: 337.9 kB / 1.096 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/0.3292, allocations: 1.458 MB / 1.098 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.332, allocations: 1.426 MB / 1.099 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004795/0.3368, allocations: 2.219 MB / 1.101 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3368, allocations: 7.938 kB / 1.101 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006028/0.3428, allocations: 2.972 MB / 1.104 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.3429, allocations: 83.38 kB / 1.104 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3429, allocations: 0 / 1.104 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3429, allocations: 4 kB / 1.104 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.3443, allocations: 191.6 kB / 1.104 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3443, allocations: 3.938 kB / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.3457, allocations: 107.5 kB / 1.104 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.3459, allocations: 47.88 kB / 1.104 GB, free: 3.02 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.001335/0.3472, allocations: 0.7841 MB / 1.105 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.3478, allocations: 181.8 kB / 1.105 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006205/0.3541, allocations: 2.661 MB / 1.108 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3541, allocations: 7.938 kB / 1.108 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3541, allocations: 0 / 1.108 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3541, allocations: 3.984 kB / 1.108 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.357, allocations: 2.319 MB / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.357, allocations: 8 kB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.3584, allocations: 183.7 kB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.3584, allocations: 0 / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.3585, allocations: 39.94 kB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3585, allocations: 3.938 kB / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3585, allocations: 0 / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/0.3641, allocations: 2.559 MB / 1.113 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.3652, allocations: 0.5806 MB / 1.114 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.3655, allocations: 59.97 kB / 1.114 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.3671, allocations: 119.9 kB / 1.114 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.3673, allocations: 56.48 kB / 1.114 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.3674, allocations: 51.88 kB / 1.114 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002877/0.3703, allocations: 1.98 MB / 1.116 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3703, allocations: 0 / 1.116 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001106/0.3714, allocations: 371.9 kB / 1.116 GB, free: 6.902 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.006191/0.3776, allocations: 3.258 MB / 1.119 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005835/0.3835, allocations: 3.145 MB / 1.122 GB, free: 444 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3835, allocations: 0 / 1.122 GB, free: 444 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002605/0.3861, allocations: 1.349 MB / 1.124 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.3877, allocations: 481.9 kB / 1.124 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/0.4331, allocations: 30.58 MB / 1.154 GB, free: 14.96 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.4344, allocations: 1.604 MB / 1.156 GB, free: 13.33 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001992/0.4364, allocations: 0.5954 MB / 1.156 GB, free: 12.73 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009948/0.4374, allocations: 0.5851 MB / 1.157 GB, free: 12.15 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/0.4375, allocations: 3.938 kB / 1.157 GB, free: 12.14 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7531/1.191, allocations: 50.52 MB / 1.206 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/9.749, allocations: 6.016 kB / 1.206 GB, free: 10.03 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)