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.0009649/0.000965, allocations: 90.67 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.006043/0.006043, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005031, allocations: 13.81 kB / 0.9158 GB, free: 32.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3868, 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.001892/0.3887, allocations: 1.434 MB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3899, allocations: 0.7287 MB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.3899, allocations: 0 / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.39, allocations: 7.875 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.259e-05/0.3901, allocations: 19.84 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3904, allocations: 75.86 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3905, allocations: 107.6 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3906, allocations: 37.31 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.3907, allocations: 31.86 kB / 1.077 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.3908, allocations: 51.7 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3908, allocations: 4 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.391, allocations: 99.89 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.3911, allocations: 15.92 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.3911, allocations: 69.44 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3913, allocations: 139.6 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3914, allocations: 0 / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3914, allocations: 0 / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3914, allocations: 4 kB / 1.077 GB, free: 4.68 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.0006053/0.392, allocations: 435.1 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.392, allocations: 8.031 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.3921, allocations: 16.78 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3922, allocations: 184.2 kB / 1.078 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3922, allocations: 12.31 kB / 1.078 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3923, allocations: 12.38 kB / 1.078 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.3926, allocations: 128.8 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.3926, allocations: 0 / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3926, allocations: 8 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3926, allocations: 0 / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.393, allocations: 143.8 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.3936, allocations: 404.1 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.3939, allocations: 118.6 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3942, allocations: 68.81 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.3946, allocations: 0.5622 MB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3947, allocations: 34.56 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3947, allocations: 3.938 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0006887/0.3954, allocations: 225.3 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3954, allocations: 55.34 kB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3956, allocations: 167.3 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3956, allocations: 25.7 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3957, allocations: 104.1 kB / 1.079 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.3957, allocations: 27.56 kB / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.3957, allocations: 9.719 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3959, allocations: 326.8 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.396, allocations: 59.95 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.3962, allocations: 55.95 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.3966, allocations: 129.2 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3966, allocations: 0 / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004028/0.397, allocations: 157.5 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.397, allocations: 7.938 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.397, allocations: 0 / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.397, allocations: 0 / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3972, allocations: 39.91 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3972, allocations: 0 / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3974, allocations: 27.83 kB / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3974, allocations: 7.938 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 8.21e-05/0.3975, allocations: 117.8 kB / 1.08 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3975, allocations: 15.75 kB / 1.08 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.398, allocations: 178.9 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.398, allocations: 11.98 kB / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.398, allocations: 0 / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.398, allocations: 0 / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.3982, allocations: 201.6 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3982, allocations: 0 / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.3984, allocations: 31.97 kB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3984, allocations: 3.938 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3984, allocations: 4 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3984, allocations: 8 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3984, allocations: 7.922 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.3989, allocations: 263.4 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.399, allocations: 93 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.399, allocations: 11.88 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3991, allocations: 15.98 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.3992, allocations: 11.98 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3992, allocations: 4 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.75e-05/0.3993, allocations: 124.9 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3993, allocations: 0 / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002501/0.3996, allocations: 24 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.0001612/0.3997, allocations: 115.2 kB / 1.081 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.4002, allocations: 123.9 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4002, allocations: 0 / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.4004, allocations: 75.89 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.4008, allocations: 29.28 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.4012, allocations: 271.2 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.4015, allocations: 0.7005 MB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.283e-05/0.4015, allocations: 8.547 kB / 1.083 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.4016, allocations: 11.44 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.4016, allocations: 4 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.003981/0.4056, allocations: 1.414 MB / 1.084 GB, free: 12.84 MB / 0.8419 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)