Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001075/0.001075, allocations: 91.84 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.01268/0.01268, allocations: 172.5 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004286, allocations: 10.5 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3725, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.00327/0.3758, allocations: 1.86 MB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003831/0.3797, allocations: 2.566 MB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3799, allocations: 0 / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.3816, allocations: 0.5371 MB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.3819, allocations: 111.5 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.3826, allocations: 207 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.383, allocations: 350.3 kB / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3832, allocations: 77.03 kB / 1.08 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3834, allocations: 119.3 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.3837, allocations: 143.2 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.3837, allocations: 4 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.3839, allocations: 59.95 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.3842, allocations: 127.5 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.3845, allocations: 248.1 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007982/0.3853, allocations: 0.677 MB / 1.081 GB, free: 440 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3853, allocations: 8 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3854, allocations: 0 / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.3854, allocations: 0 / 1.081 GB, free: 432 kB / 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.001334/0.3867, allocations: 0.823 MB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3868, allocations: 11.97 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3869, allocations: 68.09 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.3874, allocations: 455.9 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.3875, allocations: 8.375 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3875, allocations: 12.12 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.3878, allocations: 100.2 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3878, allocations: 3.984 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3878, allocations: 0 / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3878, allocations: 4 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3879, allocations: 39.92 kB / 1.083 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.3888, allocations: 0.5278 MB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.3892, allocations: 106.7 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.3893, allocations: 32.84 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.3893, allocations: 0 / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.3895, allocations: 87.38 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3895, allocations: 0 / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004095/0.3899, allocations: 197 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.3901, allocations: 102.8 kB / 1.084 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.3912, allocations: 0.9188 MB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3912, allocations: 29.7 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.3915, allocations: 316 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3915, allocations: 23.66 kB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.3916, allocations: 21.7 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3917, allocations: 313.9 kB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.3918, allocations: 27.98 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3919, allocations: 76.27 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3921, allocations: 77.7 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3921, allocations: 0 / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002629/0.3924, allocations: 168.8 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3924, allocations: 11.94 kB / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3924, allocations: 0 / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3925, allocations: 0 / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.3925, allocations: 12 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3926, allocations: 3.984 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3927, allocations: 7.938 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3927, allocations: 4.188 kB / 1.085 GB, free: 11.6 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.0003786/0.3931, allocations: 325.7 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.3932, allocations: 71.09 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.3933, allocations: 74.42 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3934, allocations: 3.984 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3934, allocations: 0 / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3934, allocations: 3.938 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.394, allocations: 397.3 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.394, allocations: 4 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.394, allocations: 7.938 kB / 1.086 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.394, allocations: 4 kB / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.394, allocations: 4 kB / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3941, allocations: 0 / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3941, allocations: 0 / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3944, allocations: 196.2 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3945, allocations: 144.2 kB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.3946, allocations: 0 / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3947, allocations: 11.98 kB / 1.087 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.3948, allocations: 11.98 kB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3948, allocations: 7.938 kB / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008405/0.3956, allocations: 0.6785 MB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3957, allocations: 0 / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002997/0.396, allocations: 56 kB / 1.087 GB, free: 9.531 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.001118/0.3971, allocations: 440.5 kB / 1.088 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3973, allocations: 67.97 kB / 1.088 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3973, allocations: 4 kB / 1.088 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/0.3974, allocations: 35.92 kB / 1.088 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.3982, allocations: 156.6 kB / 1.088 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.4001, allocations: 1.286 MB / 1.089 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/0.4009, allocations: 0.9905 MB / 1.09 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.4011, allocations: 47.27 kB / 1.09 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.4011, allocations: 31.42 kB / 1.09 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4011, allocations: 0 / 1.09 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of Templates: time 0.01255/0.4137, allocations: 5.804 MB / 1.096 GB, free: 0.8789 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1)