Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001266/0.001267, allocations: 92 kB / 15.36 MB, free: 0.7383 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.01026/0.01026, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003874, allocations: 18.25 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.343, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002671/0.3457, allocations: 1.438 MB / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3473, allocations: 0.7209 MB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.3475, allocations: 0 / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.3476, allocations: 15.86 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.3477, allocations: 7.875 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.3482, allocations: 71.86 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.3484, allocations: 115.6 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3485, allocations: 33.33 kB / 1.076 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3487, allocations: 31.86 kB / 1.077 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3488, allocations: 51.7 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3488, allocations: 8 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.3491, allocations: 95.89 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.3491, allocations: 15.92 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.3492, allocations: 69.44 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.3495, allocations: 143.6 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.3496, allocations: 4 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3496, allocations: 0 / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3496, allocations: 0 / 1.077 GB, free: 4.684 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.0008973/0.3505, allocations: 439.1 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.3506, allocations: 8.031 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.3506, allocations: 16.78 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3509, allocations: 180.1 kB / 1.078 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3509, allocations: 4.375 kB / 1.078 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.3509, allocations: 12.38 kB / 1.078 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.3514, allocations: 137.9 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3514, allocations: 0 / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3514, allocations: 4 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3515, allocations: 3.984 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.3519, allocations: 138.7 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.3528, allocations: 408.1 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.3532, allocations: 118.5 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.3534, allocations: 72.86 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/0.3541, allocations: 0.57 MB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3541, allocations: 34.5 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.3541, allocations: 0 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007593/0.3549, allocations: 221.3 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3549, allocations: 59.41 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3551, allocations: 163.3 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3551, allocations: 29.7 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.3552, allocations: 100.1 kB / 1.079 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.3553, allocations: 31.55 kB / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3553, allocations: 13.72 kB / 1.08 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3554, allocations: 322.8 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3556, allocations: 59.95 kB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.3558, allocations: 47.97 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.3562, allocations: 129.2 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3562, allocations: 4 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000449/0.3566, allocations: 165.5 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3567, allocations: 7.938 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3567, allocations: 0 / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3567, allocations: 0 / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3569, allocations: 31.92 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3569, allocations: 0 / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.357, allocations: 31.83 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.357, allocations: 3.984 kB / 1.08 GB, free: 0.8242 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.0001037/0.3572, allocations: 121.8 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.3572, allocations: 15.75 kB / 1.08 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.3577, allocations: 178.9 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3577, allocations: 0 / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3578, allocations: 4 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3578, allocations: 0 / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.358, allocations: 209.6 kB / 1.081 GB, free: 244 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.358, allocations: 3.984 kB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.3582, allocations: 23.98 kB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.3582, allocations: 7.938 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3582, allocations: 4 kB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3582, allocations: 3.938 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3582, allocations: 0 / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.3588, allocations: 267.3 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.3589, allocations: 93 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.3589, allocations: 7.938 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3591, allocations: 15.98 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.3591, allocations: 7.984 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3591, allocations: 12 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001019/0.3592, allocations: 120.9 kB / 1.081 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3592, allocations: 0 / 1.081 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002721/0.3595, allocations: 27.98 kB / 1.081 GB, free: 15.62 MB / 0.8419 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.0002028/0.3597, allocations: 107.2 kB / 1.081 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.3602, allocations: 131.8 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3602, allocations: 0 / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.3604, allocations: 67.91 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.3608, allocations: 27.97 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.3613, allocations: 273.9 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3616, allocations: 0.7043 MB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.195e-05/0.3617, allocations: 12.53 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.3617, allocations: 15.91 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3617, allocations: 0 / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.004355/0.3661, allocations: 1.418 MB / 1.084 GB, free: 12.83 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1)