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.0007784/0.0007783, allocations: 91.84 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.004563/0.004563, allocations: 170 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 8.719 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.002971/0.2538, allocations: 2.771 MB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.2578, allocations: 3.303 MB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.2579, allocations: 4 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2591, allocations: 0.5599 MB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.2593, allocations: 119.1 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.2605, allocations: 0.5949 MB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.2619, allocations: 1.568 MB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.2622, allocations: 245.2 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.2626, allocations: 0.506 MB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.2632, allocations: 0.5915 MB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.2633, allocations: 84 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.2641, allocations: 0.5696 MB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.2645, allocations: 0.5648 MB / 1.07 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006675/0.2652, allocations: 0.8372 MB / 1.071 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.2677, allocations: 3.259 MB / 1.074 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2677, allocations: 3.938 kB / 1.074 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2677, allocations: 0 / 1.074 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.2677, allocations: 0 / 1.074 GB, free: 5.203 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.00251/0.2703, allocations: 1.854 MB / 1.076 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2703, allocations: 11.97 kB / 1.076 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.2704, allocations: 78.72 kB / 1.076 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006172/0.2766, allocations: 0.666 MB / 1.077 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.2788, allocations: 1.639 MB / 1.078 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.2789, allocations: 132.5 kB / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.2791, allocations: 32.38 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.2825, allocations: 1.907 MB / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2825, allocations: 0 / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.2826, allocations: 15.94 kB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.2826, allocations: 8 kB / 1.08 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005318/0.2879, allocations: 2.661 MB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/0.2955, allocations: 4.655 MB / 1.087 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.3057, allocations: 2.979 MB / 1.09 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.3081, allocations: 1.201 MB / 1.091 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.831e-05/0.3082, allocations: 20.41 kB / 1.091 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003135/0.3113, allocations: 1.804 MB / 1.093 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 3.176e-06/0.3113, allocations: 0 / 1.093 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.007823/0.3191, allocations: 3.7 MB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3192, allocations: 93.66 kB / 1.097 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/0.3227, allocations: 2.751 MB / 1.1 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.3228, allocations: 53.69 kB / 1.1 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/0.3235, allocations: 0.6971 MB / 1.1 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.3237, allocations: 189.4 kB / 1.1 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3239, allocations: 57.69 kB / 1.101 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.324, allocations: 337.9 kB / 1.101 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.3267, allocations: 1.47 MB / 1.102 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.3293, allocations: 1.453 MB / 1.104 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/0.334, allocations: 2.261 MB / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.334, allocations: 0 / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005634/0.3396, allocations: 3.014 MB / 1.109 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.3397, allocations: 87.38 kB / 1.109 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3397, allocations: 0 / 1.109 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3397, allocations: 7.984 kB / 1.109 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.341, allocations: 195.6 kB / 1.109 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3411, allocations: 7.938 kB / 1.109 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3423, allocations: 123.4 kB / 1.109 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3424, allocations: 51.88 kB / 1.109 GB, free: 0.5781 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.0009308/0.3434, allocations: 0.7803 MB / 1.11 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.3436, allocations: 173.8 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005708/0.3493, allocations: 2.712 MB / 1.113 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3494, allocations: 8 kB / 1.113 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3494, allocations: 0 / 1.113 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3494, allocations: 3.984 kB / 1.113 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.3517, allocations: 2.319 MB / 1.115 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3518, allocations: 0 / 1.115 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.3531, allocations: 195.7 kB / 1.115 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3531, allocations: 0 / 1.115 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/0.3532, allocations: 39.94 kB / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3532, allocations: 0 / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3532, allocations: 4 kB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/0.3585, allocations: 2.602 MB / 1.118 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008258/0.3594, allocations: 0.5806 MB / 1.119 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.3597, allocations: 51.98 kB / 1.119 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.3612, allocations: 155.8 kB / 1.119 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.3613, allocations: 56.48 kB / 1.119 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.3615, allocations: 43.94 kB / 1.119 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002636/0.3641, allocations: 1.984 MB / 1.121 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3641, allocations: 0 / 1.121 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009716/0.3651, allocations: 371.8 kB / 1.121 GB, free: 4.348 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.006135/0.3712, allocations: 3.309 MB / 1.124 GB, free: 1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005588/0.3768, allocations: 3.028 MB / 1.127 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3768, allocations: 0 / 1.127 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00263/0.3795, allocations: 1.365 MB / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.3811, allocations: 447.1 kB / 1.129 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05392/0.4351, allocations: 30.99 MB / 1.159 GB, free: 12.07 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.4364, allocations: 1.604 MB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002003/0.4384, allocations: 0.5993 MB / 1.161 GB, free: 9.844 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009825/0.4394, allocations: 0.5812 MB / 1.162 GB, free: 9.262 MB / 0.92 GB Notification: Performance of SimCode: time 7.62e-07/0.4394, allocations: 0 / 1.162 GB, free: 9.262 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07038/0.5098, allocations: 48.55 MB / 1.209 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.5101, allocations: 214.4 kB / 1.21 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.966, allocations: 0 / 1.21 GB, free: 8.91 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)