Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001453, allocations: 195.6 kB / 16.53 MB, free: 6.391 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 65.2 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3733, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004161/0.3775, allocations: 2.169 MB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003595/0.3812, allocations: 2.651 MB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.3814, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.3829, allocations: 0.5447 MB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.3832, allocations: 115.4 kB / 1.074 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.3839, allocations: 242.7 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.3844, allocations: 370.3 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3846, allocations: 73.05 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.3848, allocations: 127.3 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.3851, allocations: 151.2 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.3851, allocations: 8 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3853, allocations: 55.97 kB / 1.075 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.3855, allocations: 135.4 kB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.3858, allocations: 230.4 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007535/0.3865, allocations: 0.7045 MB / 1.076 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3865, allocations: 0 / 1.076 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3865, allocations: 4 kB / 1.076 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.3866, allocations: 0 / 1.076 GB, free: 2.812 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001562/0.3881, allocations: 0.9066 MB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3882, allocations: 12.03 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.3883, allocations: 68.09 kB / 1.077 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.389, allocations: 456 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.389, allocations: 8.375 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.389, allocations: 4.125 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.3893, allocations: 104.2 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3894, allocations: 0 / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3894, allocations: 0 / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3894, allocations: 0 / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3895, allocations: 43.97 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.3904, allocations: 0.52 MB / 1.078 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.3908, allocations: 106.6 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.3909, allocations: 36.83 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.391, allocations: 0 / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.3912, allocations: 87.41 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.3912, allocations: 0 / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004936/0.3917, allocations: 204.7 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.3918, allocations: 102.8 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.393, allocations: 0.9188 MB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.393, allocations: 25.7 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.3933, allocations: 320 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.3934, allocations: 23.69 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.3934, allocations: 25.7 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3935, allocations: 309.9 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.3936, allocations: 31.98 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.3938, allocations: 80.2 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3939, allocations: 65.7 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3939, allocations: 0 / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002933/0.3942, allocations: 172.7 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3943, allocations: 12 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3943, allocations: 0 / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3943, allocations: 0 / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.3944, allocations: 12 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3944, allocations: 3.984 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.3945, allocations: 7.938 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3946, allocations: 4 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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.0003325/0.3949, allocations: 327.1 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.395, allocations: 71.16 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.3951, allocations: 74.42 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.3951, allocations: 3.984 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3952, allocations: 0 / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3952, allocations: 3.938 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3956, allocations: 401.3 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3956, allocations: 4 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.3956, allocations: 4 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3957, allocations: 0 / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3957, allocations: 4 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3957, allocations: 0 / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3957, allocations: 4 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.396, allocations: 200.5 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3962, allocations: 144.1 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.3963, allocations: 0 / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3964, allocations: 11.98 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.3965, allocations: 4 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3965, allocations: 11.92 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008862/0.3974, allocations: 0.6825 MB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3974, allocations: 0 / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000306/0.3977, allocations: 64.17 kB / 1.082 GB, free: 11.83 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001043/0.3988, allocations: 416.2 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.399, allocations: 83.88 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3991, allocations: 0 / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.3992, allocations: 32.05 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.3999, allocations: 171 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.4016, allocations: 1.152 MB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.4022, allocations: 0.9902 MB / 1.085 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.4024, allocations: 47.28 kB / 1.085 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.4025, allocations: 27.42 kB / 1.085 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.4025, allocations: 3.938 kB / 1.085 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.01202/0.4145, allocations: 6.074 MB / 1.091 GB, free: 3.062 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1)