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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004587/0.004587, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001346/0.001346, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.263/2.263, allocations: 437.1 MB / 0.7106 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 67.84 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6058/0.6076, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004063/0.6117, allocations: 3.1 MB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004193/0.6159, allocations: 3.322 MB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.616, allocations: 7.938 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.6172, allocations: 0.5712 MB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.6174, allocations: 131 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.6188, allocations: 0.7034 MB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.6204, allocations: 1.682 MB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.6207, allocations: 261.2 kB / 1.176 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.6212, allocations: 0.584 MB / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006324/0.6219, allocations: 0.6111 MB / 1.177 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.6221, allocations: 136 kB / 1.177 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.623, allocations: 0.6555 MB / 1.178 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005259/0.6235, allocations: 0.6118 MB / 1.178 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.6243, allocations: 0.8668 MB / 1.179 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.6273, allocations: 3.446 MB / 1.182 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6273, allocations: 0 / 1.182 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6273, allocations: 0 / 1.182 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.6273, allocations: 4 kB / 1.182 GB, free: 3.023 MB / 0.9044 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.002984/0.6303, allocations: 2.229 MB / 1.185 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.6303, allocations: 12.56 kB / 1.185 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.6305, allocations: 78.72 kB / 1.185 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005757/0.6362, allocations: 0.6593 MB / 1.185 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.6384, allocations: 1.641 MB / 1.187 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.6386, allocations: 132.5 kB / 1.187 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.6387, allocations: 32.31 kB / 1.187 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.6421, allocations: 1.891 MB / 1.189 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6421, allocations: 0 / 1.189 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.6422, allocations: 12 kB / 1.189 GB, free: 12.17 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.6422, allocations: 8 kB / 1.189 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/0.6476, allocations: 2.618 MB / 1.192 GB, free: 9.535 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006901/0.6545, allocations: 4.609 MB / 1.196 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009767/0.6643, allocations: 2.896 MB / 1.199 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.6667, allocations: 1.189 MB / 1.2 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.6667, allocations: 20.41 kB / 1.2 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003142/0.6699, allocations: 1.773 MB / 1.202 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 1.934e-06/0.6699, allocations: 4 kB / 1.202 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.00769/0.6776, allocations: 3.65 MB / 1.205 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.6777, allocations: 97.66 kB / 1.205 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.681, allocations: 2.755 MB / 1.208 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.6811, allocations: 53.69 kB / 1.208 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006977/0.6818, allocations: 0.6933 MB / 1.209 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.682, allocations: 198.4 kB / 1.209 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.6823, allocations: 162 kB / 1.209 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6825, allocations: 337.9 kB / 1.21 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.6852, allocations: 1.447 MB / 1.211 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/0.6878, allocations: 1.43 MB / 1.212 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004599/0.6924, allocations: 2.215 MB / 1.215 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6924, allocations: 4 kB / 1.215 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005633/0.6981, allocations: 2.992 MB / 1.217 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.6982, allocations: 83.38 kB / 1.218 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.6982, allocations: 0 / 1.218 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.6982, allocations: 4 kB / 1.218 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.6995, allocations: 179.7 kB / 1.218 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.6995, allocations: 3.984 kB / 1.218 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7006, allocations: 115.6 kB / 1.218 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.7007, allocations: 51.88 kB / 1.218 GB, free: 14.34 MB / 0.9512 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.0008785/0.7016, allocations: 0.7763 MB / 1.219 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.7019, allocations: 190.8 kB / 1.219 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005591/0.7075, allocations: 2.673 MB / 1.221 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.7076, allocations: 4 kB / 1.221 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7076, allocations: 0 / 1.221 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.7076, allocations: 7.984 kB / 1.221 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.71, allocations: 2.319 MB / 1.224 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.71, allocations: 4 kB / 1.224 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.7112, allocations: 183.7 kB / 1.224 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.7112, allocations: 0 / 1.224 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.453e-05/0.7113, allocations: 43.94 kB / 1.224 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.7114, allocations: 3.938 kB / 1.224 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7114, allocations: 0 / 1.224 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/0.7167, allocations: 2.564 MB / 1.226 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008181/0.7175, allocations: 0.5933 MB / 1.227 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.7178, allocations: 55.97 kB / 1.227 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.7191, allocations: 119.8 kB / 1.227 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.7193, allocations: 60.48 kB / 1.227 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.7194, allocations: 47.94 kB / 1.227 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002453/0.7219, allocations: 1.98 MB / 1.229 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7219, allocations: 0 / 1.229 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008257/0.7227, allocations: 367.7 kB / 1.23 GB, free: 2.199 MB / 0.9512 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.005999/0.7287, allocations: 3.278 MB / 1.233 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005496/0.7342, allocations: 2.989 MB / 1.236 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7342, allocations: 0 / 1.236 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.7369, allocations: 1.342 MB / 1.237 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.7383, allocations: 479.7 kB / 1.237 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04199/0.7803, allocations: 28.48 MB / 1.265 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.7815, allocations: 1.604 MB / 1.267 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001512/0.7831, allocations: 0.5954 MB / 1.267 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009656/0.784, allocations: 0.589 MB / 1.268 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.784, allocations: 0 / 1.268 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.831/4.615, allocations: 51.1 MB / 1.318 GB, free: 7.812 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/16.42, allocations: 16.7 kB / 1.318 GB, free: 7.801 MB / 1.045 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=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)