Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DXCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.098/2.098, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001513, allocations: 176.8 kB / 325.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.4 MB / 0.5764 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 97.89 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004987, allocations: 13.19 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2242, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.32/7.544, allocations: 2.2 GB / 3.099 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000432/7.545, allocations: 117.2 kB / 3.099 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6559/8.201, allocations: 200.8 MB / 3.295 GB, free: 136 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.396e-06/8.201, allocations: 0 / 3.295 GB, free: 136 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005806/8.202, allocations: 55.94 kB / 3.295 GB, free: 136 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.0177/8.219, allocations: 4.651 MB / 3.3 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/8.219, allocations: 15.97 kB / 3.3 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001269/8.221, allocations: 151.3 kB / 3.3 GB, free: 131 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0536/8.274, allocations: 3.58 MB / 3.304 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/8.29, allocations: 5.084 MB / 3.309 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/8.291, allocations: 358.5 kB / 3.309 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/8.293, allocations: 99.94 kB / 3.309 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02602/8.319, allocations: 6.247 MB / 3.315 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/8.319, allocations: 7.938 kB / 3.315 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000835/8.32, allocations: 40 kB / 3.315 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/8.32, allocations: 20 kB / 3.315 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04448/8.364, allocations: 9.302 MB / 3.324 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05874/8.423, allocations: 17.26 MB / 3.341 GB, free: 88.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05044/8.473, allocations: 9.213 MB / 3.35 GB, free: 79.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/8.474, allocations: 0.5944 MB / 3.351 GB, free: 78.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02388/8.498, allocations: 5.689 MB / 3.356 GB, free: 73.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=137): time 6.432e-06/8.498, allocations: 4 kB / 3.356 GB, free: 73.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=137): time 0.1095/8.608, allocations: 14.67 MB / 3.371 GB, free: 58.42 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/8.608, allocations: 110.4 kB / 3.371 GB, free: 58.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02042/8.628, allocations: 7.296 MB / 3.378 GB, free: 51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001622/8.63, allocations: 89.69 kB / 3.378 GB, free: 50.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003887/8.634, allocations: 1.667 MB / 3.38 GB, free: 49.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001507/8.635, allocations: 426.1 kB / 3.38 GB, free: 48.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009713/8.636, allocations: 28 kB / 3.38 GB, free: 48.78 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001998/8.637, allocations: 365.9 kB / 3.38 GB, free: 48.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0222/8.659, allocations: 5.216 MB / 3.385 GB, free: 43.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02245/8.681, allocations: 5.268 MB / 3.391 GB, free: 37.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02052/8.702, allocations: 4.39 MB / 3.395 GB, free: 33.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/8.702, allocations: 0 / 3.395 GB, free: 33.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.08278/8.785, allocations: 11.98 MB / 3.407 GB, free: 21.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003467/8.785, allocations: 485.3 kB / 3.407 GB, free: 20.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/8.785, allocations: 0 / 3.407 GB, free: 20.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00819/8.793, allocations: 1.117 MB / 3.408 GB, free: 19.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/8.805, allocations: 0.8581 MB / 3.409 GB, free: 18.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/8.816, allocations: 5.182 MB / 3.414 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/8.829, allocations: 0.6702 MB / 3.415 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/8.83, allocations: 259.8 kB / 3.415 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/8.83, allocations: 4 kB / 3.415 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0795/8.91, allocations: 11.68 MB / 3.426 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/8.91, allocations: 0 / 3.426 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6452/9.555, allocations: 0.9897 MB / 3.427 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01134/9.567, allocations: 0.8596 MB / 3.428 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/9.583, allocations: 9.114 MB / 3.437 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/9.595, allocations: 0.6544 MB / 3.438 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/9.597, allocations: 260.6 kB / 3.438 GB, free: 233 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 58 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition17,dxCoo.wetCoi.cooCap.stage,$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],dxCoo.wetCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.shr.on,dxCoo.dryCoi.cooCap.stage,$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],dxCoo.dryCoi.cooCap.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 (151): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006212/9.603, allocations: 1.974 MB / 3.44 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002404/9.605, allocations: 414 kB / 3.44 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08451/9.69, allocations: 10.51 MB / 3.451 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/9.69, allocations: 11.5 kB / 3.451 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/9.69, allocations: 2.094 kB / 3.451 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.525e-05/9.69, allocations: 4.875 kB / 3.451 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09361/9.784, allocations: 17.41 MB / 3.468 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-05/9.784, allocations: 3.703 kB / 3.468 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01225/9.796, allocations: 0.8173 MB / 3.468 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/9.799, allocations: 272 kB / 3.469 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001466/9.8, allocations: 127.6 kB / 3.469 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005826/9.806, allocations: 2.258 MB / 3.471 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/9.806, allocations: 3.953 kB / 3.471 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08927/9.896, allocations: 9.936 MB / 3.481 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006376/9.902, allocations: 2.039 MB / 3.483 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002601/9.905, allocations: 136.6 kB / 3.483 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01291/9.918, allocations: 0.6761 MB / 3.483 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008679/9.919, allocations: 146.3 kB / 3.484 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001117/9.92, allocations: 257.5 kB / 3.484 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0157/9.935, allocations: 5.572 MB / 3.489 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.61e-07/9.935, allocations: 0 / 3.489 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01111/9.947, allocations: 1.722 MB / 3.491 GB, free: 229.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition17,dxCoo.wetCoi.cooCap.stage,dxCoo.wetCoi.cooCap.checkBoundsTEva[1],dxCoo.wetCoi.cooCap.checkBoundsTEva[2],dxCoo.wetCoi.cooCap.checkBoundsTEva[3],dxCoo.wetCoi.cooCap.checkBoundsTEva[4],dxCoo.wetCoi.cooCap.checkBoundsTCon[1],dxCoo.wetCoi.cooCap.checkBoundsTCon[2],dxCoo.wetCoi.cooCap.checkBoundsTCon[3],dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.shr.on,dxCoo.dryCoi.cooCap.stage,dxCoo.dryCoi.cooCap.checkBoundsTEva[1],dxCoo.dryCoi.cooCap.checkBoundsTEva[2],dxCoo.dryCoi.cooCap.checkBoundsTEva[3],dxCoo.dryCoi.cooCap.checkBoundsTEva[4],dxCoo.dryCoi.cooCap.checkBoundsTCon[1],dxCoo.dryCoi.cooCap.checkBoundsTCon[2],dxCoo.dryCoi.cooCap.checkBoundsTCon[3],dxCoo.dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 12 (dxCoo.dryCoi.cooCap.stage,dxCoo.dryCoi.cooCap.checkBoundsTEva[dxCoo.dryCoi.cooCap.stage],dxCoo.dryCoi.cooCap.checkBoundsTCon[dxCoo.dryCoi.cooCap.stage],dxCoo.wetCoi.cooCap.stage,dxCoo.wetCoi.cooCap.checkBoundsTEva[dxCoo.wetCoi.cooCap.stage],dxCoo.wetCoi.cooCap.checkBoundsTCon[dxCoo.wetCoi.cooCap.stage],speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition17) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.05351/10, allocations: 10.64 MB / 3.501 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.08227/10.08, allocations: 17.7 MB / 3.519 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/10.08, allocations: 3.969 kB / 3.519 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.02241/10.1, allocations: 4.712 MB / 3.523 GB, free: 217 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008273/10.11, allocations: 1.097 MB / 3.524 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06574/10.18, allocations: 18.01 MB / 3.542 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006422/10.19, allocations: 3.215 MB / 3.545 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01648/10.2, allocations: 2.566 MB / 3.548 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006966/10.21, allocations: 1.615 MB / 3.549 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.552e-06/10.21, allocations: 0 / 3.549 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3096/10.52, allocations: 155.7 MB / 3.701 GB, free: 60.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/10.52, allocations: 280.5 kB / 3.701 GB, free: 59.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/18.59, allocations: 0 / 3.701 GB, free: 59.78 MB / 0.8855 GB