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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004579/0.004579, allocations: 99.41 kB / 15.73 MB, free: 5.551 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.001341/0.001341, allocations: 197 kB / 16.68 MB, free: 5.48 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.712/2.712, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 68.11 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2587, allocations: 162.3 MB / 1.242 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004114/0.2629, allocations: 3.085 MB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004376/0.2673, allocations: 3.327 MB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.2675, allocations: 7.938 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.2688, allocations: 0.5675 MB / 1.249 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.2691, allocations: 134.9 kB / 1.249 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.2708, allocations: 0.6999 MB / 1.249 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.2723, allocations: 1.692 MB / 1.251 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.2726, allocations: 253.2 kB / 1.251 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4544/0.727, allocations: 0.5758 MB / 1.252 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009149/0.728, allocations: 0.6097 MB / 1.253 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004348/0.7284, allocations: 140.7 kB / 1.253 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.7297, allocations: 0.6473 MB / 1.253 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006146/0.7304, allocations: 0.619 MB / 1.254 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.7316, allocations: 0.8744 MB / 1.255 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.7352, allocations: 3.445 MB / 1.258 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7352, allocations: 0.6562 kB / 1.258 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7352, allocations: 0 / 1.258 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.7352, allocations: 1.469 kB / 1.258 GB, free: 7.551 MB / 0.9981 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.002881/0.7381, allocations: 2.229 MB / 1.26 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.7382, allocations: 10.06 kB / 1.26 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.975e-05/0.7383, allocations: 75.86 kB / 1.26 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005566/0.7438, allocations: 0.658 MB / 1.261 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.7459, allocations: 1.649 MB / 1.263 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.7461, allocations: 133.6 kB / 1.263 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.7462, allocations: 32.77 kB / 1.263 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.7492, allocations: 1.891 MB / 1.265 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.7492, allocations: 0 / 1.265 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.7493, allocations: 13.44 kB / 1.265 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7494, allocations: 9.578 kB / 1.265 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004682/0.754, allocations: 2.62 MB / 1.267 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006158/0.7602, allocations: 4.6 MB / 1.272 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009166/0.7694, allocations: 2.897 MB / 1.275 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.7714, allocations: 1.179 MB / 1.276 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.085e-05/0.7715, allocations: 25.56 kB / 1.276 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002846/0.7743, allocations: 1.784 MB / 1.277 GB, free: 0 / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 1.864e-06/0.7744, allocations: 0 / 1.277 GB, free: 0 / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.00758/0.7819, allocations: 3.647 MB / 1.281 GB, free: 14.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.782, allocations: 99.94 kB / 1.281 GB, free: 14.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.7856, allocations: 2.756 MB / 1.284 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.7857, allocations: 52.56 kB / 1.284 GB, free: 13.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00075/0.7865, allocations: 0.696 MB / 1.285 GB, free: 13.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.7867, allocations: 198.8 kB / 1.285 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.787, allocations: 154 kB / 1.285 GB, free: 12.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7872, allocations: 331.5 kB / 1.285 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.7898, allocations: 1.457 MB / 1.287 GB, free: 12.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.7924, allocations: 1.425 MB / 1.288 GB, free: 11.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.7969, allocations: 2.222 MB / 1.29 GB, free: 10.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.797, allocations: 1.125 kB / 1.29 GB, free: 10.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005711/0.8027, allocations: 2.987 MB / 1.293 GB, free: 9.773 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.8028, allocations: 85.16 kB / 1.293 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.8028, allocations: 0 / 1.293 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8028, allocations: 2.031 kB / 1.293 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.804, allocations: 184.9 kB / 1.293 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.804, allocations: 3.375 kB / 1.293 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.8053, allocations: 119 kB / 1.293 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.8055, allocations: 43.16 kB / 1.294 GB, free: 9.648 MB / 1.014 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.001117/0.8066, allocations: 0.7776 MB / 1.294 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.8069, allocations: 189.1 kB / 1.294 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005713/0.8126, allocations: 2.671 MB / 1.297 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.8127, allocations: 8.062 kB / 1.297 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8127, allocations: 1.094 kB / 1.297 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.8127, allocations: 3.141 kB / 1.297 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.8154, allocations: 2.331 MB / 1.299 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8154, allocations: 0 / 1.299 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.8166, allocations: 189.6 kB / 1.3 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.8166, allocations: 3.438 kB / 1.3 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-05/0.8167, allocations: 37 kB / 1.3 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8167, allocations: 2.344 kB / 1.3 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8167, allocations: 4.25 kB / 1.3 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/0.822, allocations: 2.564 MB / 1.302 GB, free: 6.363 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/0.8229, allocations: 0.5903 MB / 1.303 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.8232, allocations: 60.7 kB / 1.303 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.8246, allocations: 116.3 kB / 1.303 GB, free: 5.965 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.8248, allocations: 62.72 kB / 1.303 GB, free: 5.949 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.8249, allocations: 44.42 kB / 1.303 GB, free: 5.945 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002642/0.8275, allocations: 1.977 MB / 1.305 GB, free: 5.219 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8275, allocations: 0 / 1.305 GB, free: 5.219 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00107/0.8286, allocations: 378.3 kB / 1.305 GB, free: 5.176 MB / 1.014 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.006037/0.8347, allocations: 3.26 MB / 1.308 GB, free: 3.711 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00543/0.8401, allocations: 2.995 MB / 1.311 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8401, allocations: 0 / 1.311 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.8427, allocations: 1.342 MB / 1.313 GB, free: 2.172 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.8442, allocations: 469.9 kB / 1.313 GB, free: 2.012 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04312/0.8873, allocations: 28.48 MB / 1.341 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.8887, allocations: 1.603 MB / 1.342 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001689/0.8904, allocations: 0.5958 MB / 1.343 GB, free: 14.26 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.8914, allocations: 0.5851 MB / 1.344 GB, free: 13.68 MB / 1.045 GB Notification: Performance of SimCode: time 4.3e-07/0.8914, allocations: 0 / 1.344 GB, free: 13.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.194/6.085, allocations: 51.11 MB / 1.394 GB, free: 11.05 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/29.22, allocations: 3.203 kB / 1.394 GB, free: 11.05 MB / 1.092 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)