Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00123/0.001229, allocations: 198.2 kB / 16.14 MB, free: 6.66 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 68.59 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3573, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003738/0.3611, allocations: 1.785 MB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3625, allocations: 0.7247 MB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3627, allocations: 4 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.127e-05/0.3628, allocations: 7.922 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3629, allocations: 23.8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.3633, allocations: 67.86 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3634, allocations: 107.6 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3636, allocations: 41.31 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3637, allocations: 43.78 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.3638, allocations: 55.7 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3638, allocations: 4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.3641, allocations: 99.89 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.3641, allocations: 19.92 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.3642, allocations: 43.73 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.3644, allocations: 147.6 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3645, allocations: 7.938 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3645, allocations: 4 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3645, allocations: 0 / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007063/0.3652, allocations: 439.1 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3652, allocations: 12.03 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.3653, allocations: 12.75 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3655, allocations: 182.7 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.3655, allocations: 8.375 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3655, allocations: 16.31 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.3659, allocations: 117.9 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3659, allocations: 3.984 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.3659, allocations: 8 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.3659, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.3663, allocations: 119.8 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006154/0.3669, allocations: 400.1 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.3673, allocations: 102.5 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.3675, allocations: 68.86 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.3681, allocations: 0.5583 MB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3681, allocations: 30.56 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.3681, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007554/0.3689, allocations: 193.4 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.369, allocations: 55.41 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3692, allocations: 163.3 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3692, allocations: 25.7 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.3693, allocations: 104 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.3694, allocations: 35.55 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.3694, allocations: 21.72 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3696, allocations: 322.8 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3698, allocations: 43.95 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.37, allocations: 44.34 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.3704, allocations: 100.9 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3704, allocations: 0 / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004709/0.3708, allocations: 145.5 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.3709, allocations: 7.938 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3709, allocations: 8 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.3709, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.3711, allocations: 23.92 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3712, allocations: 0 / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3713, allocations: 23.83 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3713, allocations: 3.984 kB / 1.074 GB, free: 4.035 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001167/0.3714, allocations: 117.8 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.3715, allocations: 15.84 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.3719, allocations: 158.9 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.372, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.372, allocations: 4 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.372, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.3723, allocations: 213.5 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3723, allocations: 7.984 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.3724, allocations: 19.98 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3724, allocations: 3.938 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3725, allocations: 8 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3725, allocations: 0 / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3725, allocations: 192 / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.3729, allocations: 239.2 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3731, allocations: 96.91 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3731, allocations: 7.938 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3732, allocations: 11.98 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.3733, allocations: 11.92 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3734, allocations: 8 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000143/0.3735, allocations: 124.9 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3735, allocations: 4 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003438/0.3739, allocations: 27.98 kB / 1.075 GB, free: 2.875 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003376/0.3742, allocations: 107.2 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005105/0.3747, allocations: 107.8 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3748, allocations: 0 / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.375, allocations: 51.97 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.3756, allocations: 32.53 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.3763, allocations: 254.1 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.3767, allocations: 0.7043 MB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.105e-05/0.3768, allocations: 16.55 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3769, allocations: 15.38 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of SimCode: time 7.91e-07/0.3769, allocations: 0 / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.00561/0.3825, allocations: 1.435 MB / 1.078 GB, free: 132 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1)