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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.0009624/0.0009626, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001125/0.001125, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.637/2.637, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 11.94 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7756, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.003317/0.779, allocations: 2.625 MB / 0.9837 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004454/0.7835, allocations: 3.066 MB / 0.9867 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.7838, allocations: 4 kB / 0.9867 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.7852, allocations: 0.5134 MB / 0.9872 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.7855, allocations: 127.2 kB / 0.9873 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.7872, allocations: 0.5661 MB / 0.9879 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.7885, allocations: 1.297 MB / 0.9891 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.7889, allocations: 235.8 kB / 0.9894 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004916/0.7894, allocations: 0.5217 MB / 0.9899 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.79, allocations: 0.5605 MB / 0.9904 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.7901, allocations: 80 kB / 0.9905 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.7911, allocations: 0.5501 MB / 0.991 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005434/0.7917, allocations: 0.5611 MB / 0.9916 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.792, allocations: 332.8 kB / 0.9919 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.7945, allocations: 2.782 MB / 0.9946 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.7945, allocations: 0 / 0.9946 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7945, allocations: 3.938 kB / 0.9946 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.528e-05/0.7945, allocations: 0 / 0.9946 GB, free: 8.363 MB / 0.7481 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.003086/0.7976, allocations: 1.861 MB / 0.9964 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.7977, allocations: 12.03 kB / 0.9965 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.7978, allocations: 74.53 kB / 0.9965 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005493/0.8033, allocations: 0.6729 MB / 0.9972 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/0.8062, allocations: 1.554 MB / 0.9987 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.8064, allocations: 132 kB / 0.9988 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.8065, allocations: 39.98 kB / 0.9989 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.8098, allocations: 1.899 MB / 1.001 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.8099, allocations: 0 / 1.001 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.81, allocations: 19.98 kB / 1.001 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.81, allocations: 11.94 kB / 1.001 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00518/0.8152, allocations: 2.653 MB / 1.003 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009454/0.8247, allocations: 4.64 MB / 1.008 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009171/0.8339, allocations: 2.975 MB / 1.011 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.8363, allocations: 1.201 MB / 1.012 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.535e-05/0.8364, allocations: 24.34 kB / 1.012 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00317/0.8396, allocations: 1.804 MB / 1.014 GB, free: 4.516 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 3.366e-06/0.8396, allocations: 0 / 1.014 GB, free: 4.516 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.007546/0.8471, allocations: 3.696 MB / 1.017 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.8473, allocations: 97.62 kB / 1.017 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004994/0.8523, allocations: 2.74 MB / 1.02 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000467/0.8528, allocations: 53.69 kB / 1.02 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007645/0.8536, allocations: 0.7009 MB / 1.021 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.8538, allocations: 173.5 kB / 1.021 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.8539, allocations: 8 kB / 1.021 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.854, allocations: 338 kB / 1.021 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/0.8566, allocations: 1.47 MB / 1.023 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.8592, allocations: 1.449 MB / 1.024 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.8615, allocations: 1.231 MB / 1.025 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.8615, allocations: 0 / 1.025 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005862/0.8673, allocations: 3.022 MB / 1.028 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-05/0.8675, allocations: 83.38 kB / 1.028 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8675, allocations: 0 / 1.028 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8675, allocations: 4 kB / 1.028 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.8687, allocations: 195.7 kB / 1.029 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.8687, allocations: 4 kB / 1.029 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.8702, allocations: 131.3 kB / 1.029 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.8704, allocations: 47.94 kB / 1.029 GB, free: 4.945 MB / 0.7794 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001435/0.8718, allocations: 0.7802 MB / 1.03 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/0.8722, allocations: 177.8 kB / 1.03 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005301/0.8776, allocations: 2.704 MB / 1.032 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.8776, allocations: 4 kB / 1.032 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.8776, allocations: 3.938 kB / 1.032 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.8776, allocations: 3.984 kB / 1.032 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.8808, allocations: 2.334 MB / 1.035 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8808, allocations: 0 / 1.035 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.882, allocations: 191.7 kB / 1.035 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.882, allocations: 7.891 kB / 1.035 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.8821, allocations: 39.94 kB / 1.035 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.8821, allocations: 0 / 1.035 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8821, allocations: 0 / 1.035 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/0.8874, allocations: 2.594 MB / 1.037 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.8886, allocations: 0.5806 MB / 1.038 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/0.8889, allocations: 63.92 kB / 1.038 GB, free: 11.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.8903, allocations: 143.9 kB / 1.038 GB, free: 11.19 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.8905, allocations: 64.47 kB / 1.038 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.8906, allocations: 51.92 kB / 1.038 GB, free: 11.07 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002844/0.8934, allocations: 1.964 MB / 1.04 GB, free: 9.086 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8934, allocations: 0 / 1.04 GB, free: 9.086 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00121/0.8947, allocations: 367.8 kB / 1.041 GB, free: 8.727 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005682/0.9004, allocations: 3.302 MB / 1.044 GB, free: 5.383 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005054/0.9054, allocations: 3.02 MB / 1.047 GB, free: 2.336 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.9055, allocations: 0 / 1.047 GB, free: 2.336 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.9078, allocations: 1.365 MB / 1.048 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.91, allocations: 449.3 kB / 1.048 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04378/0.9538, allocations: 20.49 MB / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.9554, allocations: 1.608 MB / 1.07 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00281/0.9582, allocations: 0.6071 MB / 1.071 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/0.9595, allocations: 0.5851 MB / 1.071 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of SimCode: time 3.086e-06/0.9596, allocations: 0 / 1.071 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07725/1.037, allocations: 47.49 MB / 1.118 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.037, allocations: 198.7 kB / 1.118 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/4.117, allocations: 0.625 kB / 1.118 GB, free: 9.266 MB / 0.8731 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/linux/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) Environment - environmentSimulation: