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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001056/0.001056, 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.001309/0.001309, allocations: 195.2 kB / 16.14 MB, free: 6.719 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.352/2.352, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4982, allocations: 151.6 MB / 1.017 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.0044/0.5026, allocations: 3.122 MB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004485/0.5072, allocations: 3.383 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.5075, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.5089, allocations: 0.5522 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.5092, allocations: 119.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.5106, allocations: 0.5875 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.512, allocations: 1.567 MB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.5123, allocations: 257.2 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.5127, allocations: 0.5255 MB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.5133, allocations: 0.5993 MB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.5135, allocations: 88 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008409/0.5143, allocations: 0.5774 MB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004755/0.5148, allocations: 0.5727 MB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006824/0.5155, allocations: 0.8237 MB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.518, allocations: 3.33 MB / 1.032 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.518, allocations: 4 kB / 1.032 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.518, allocations: 4 kB / 1.032 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.5181, allocations: 0 / 1.032 GB, free: 2.723 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.002987/0.5211, allocations: 2.164 MB / 1.035 GB, free: 496 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5211, allocations: 8.031 kB / 1.035 GB, free: 488 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.5212, allocations: 82.72 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006013/0.5272, allocations: 0.6504 MB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.5295, allocations: 1.62 MB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.5296, allocations: 136.5 kB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5298, allocations: 32.38 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.5331, allocations: 1.887 MB / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.5332, allocations: 3.938 kB / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.5333, allocations: 15.98 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.5333, allocations: 8 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005243/0.5385, allocations: 2.622 MB / 1.041 GB, free: 9.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007144/0.5457, allocations: 4.601 MB / 1.046 GB, free: 4.648 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009912/0.5556, allocations: 2.891 MB / 1.049 GB, free: 1.75 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/0.5579, allocations: 1.193 MB / 1.05 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.558, allocations: 16.42 kB / 1.05 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003126/0.5611, allocations: 1.784 MB / 1.052 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.865e-06/0.5611, allocations: 4 kB / 1.052 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.007746/0.5689, allocations: 3.633 MB / 1.055 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.569, allocations: 101.6 kB / 1.055 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004369/0.5733, allocations: 2.759 MB / 1.058 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.5735, allocations: 53.69 kB / 1.058 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007723/0.5743, allocations: 0.697 MB / 1.059 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.5745, allocations: 177.5 kB / 1.059 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.5749, allocations: 154.1 kB / 1.059 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.575, allocations: 341.9 kB / 1.059 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002583/0.5776, allocations: 1.45 MB / 1.061 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.5802, allocations: 1.43 MB / 1.062 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004381/0.5845, allocations: 2.219 MB / 1.064 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5846, allocations: 3.938 kB / 1.064 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005703/0.5903, allocations: 2.979 MB / 1.067 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/0.5904, allocations: 85.88 kB / 1.067 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5904, allocations: 4 kB / 1.067 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5904, allocations: 4 kB / 1.067 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.5917, allocations: 187.6 kB / 1.068 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5917, allocations: 0 / 1.068 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.5931, allocations: 111.5 kB / 1.068 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.5933, allocations: 47.88 kB / 1.068 GB, free: 14.15 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.001194/0.5945, allocations: 0.7807 MB / 1.068 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/0.595, allocations: 173.8 kB / 1.069 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005713/0.6007, allocations: 2.673 MB / 1.071 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6007, allocations: 8 kB / 1.071 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6007, allocations: 0 / 1.071 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6008, allocations: 3.984 kB / 1.071 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.6036, allocations: 2.323 MB / 1.074 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6036, allocations: 0 / 1.074 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.6049, allocations: 187.7 kB / 1.074 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.6049, allocations: 0 / 1.074 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.605, allocations: 39.94 kB / 1.074 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.605, allocations: 4 kB / 1.074 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.605, allocations: 0 / 1.074 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/0.6103, allocations: 2.563 MB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.6113, allocations: 0.5806 MB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/0.6117, allocations: 59.98 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6132, allocations: 115.8 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.6133, allocations: 56.48 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.6135, allocations: 47.94 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00299/0.6165, allocations: 1.987 MB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6165, allocations: 0 / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001107/0.6176, allocations: 371.8 kB / 1.079 GB, free: 2.035 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.005922/0.6235, allocations: 3.266 MB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005274/0.6288, allocations: 2.977 MB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6288, allocations: 4 kB / 1.086 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.6313, allocations: 1.346 MB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.6332, allocations: 445.3 kB / 1.087 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05394/0.6871, allocations: 30.84 MB / 1.117 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.6885, allocations: 1.604 MB / 1.119 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002029/0.6905, allocations: 0.611 MB / 1.12 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009994/0.6915, allocations: 0.5851 MB / 1.12 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.6915, allocations: 4 kB / 1.12 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5322/1.224, allocations: 49.24 MB / 1.168 GB, free: 6.383 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/1.224, allocations: 208.5 kB / 1.168 GB, free: 6.125 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.879, allocations: 2.875 kB / 1.168 GB, free: 6.125 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)