Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, 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.00127/0.00127, allocations: 193.9 kB / 16.14 MB, free: 6.656 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.996/2.996, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.23 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3726, 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.SpeedShift): time 0.00358/0.3762, allocations: 2.103 MB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3797, allocations: 2.624 MB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3798, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.3812, allocations: 0.5098 MB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.3813, allocations: 63.66 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.3821, allocations: 215.2 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.3825, allocations: 314.3 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.3828, allocations: 93.05 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3829, allocations: 99.53 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.3831, allocations: 139.2 kB / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.3832, allocations: 4 kB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.3837, allocations: 311.6 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3838, allocations: 103.5 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.384, allocations: 214.4 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007981/0.3849, allocations: 0.7865 MB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3849, allocations: 3.938 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3849, allocations: 0 / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.3849, allocations: 3.938 kB / 1.075 GB, free: 3.34 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001285/0.3862, allocations: 0.8682 MB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3862, allocations: 12.03 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3863, allocations: 64.09 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.3869, allocations: 388.3 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3869, allocations: 8.375 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.3869, allocations: 12.36 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.3872, allocations: 122.5 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3872, allocations: 0 / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.3873, allocations: 15.94 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3873, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3875, allocations: 99.94 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3885, allocations: 0.5509 MB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3887, allocations: 110.5 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.3889, allocations: 68.97 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.3889, allocations: 8.188 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.3892, allocations: 137 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3893, allocations: 0 / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005269/0.3898, allocations: 302.5 kB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.3899, allocations: 85.11 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000988/0.3909, allocations: 0.7896 MB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3909, allocations: 33.7 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.3912, allocations: 292.1 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.3913, allocations: 23.66 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.3913, allocations: 33.7 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3915, allocations: 306 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.3916, allocations: 47.97 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.3917, allocations: 47.97 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3919, allocations: 156.2 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3919, allocations: 4 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003419/0.3922, allocations: 270.4 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.3923, allocations: 37.69 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3923, allocations: 0 / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3923, allocations: 0 / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.3924, allocations: 11.94 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3924, allocations: 0 / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3925, allocations: 11.92 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3926, allocations: 4 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0003835/0.393, allocations: 352.9 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.393, allocations: 75.03 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.3935, allocations: 293.5 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3935, allocations: 0 / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3935, allocations: 0 / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3935, allocations: 0 / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.3939, allocations: 377.4 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3939, allocations: 3.938 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.394, allocations: 11.98 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.394, allocations: 0 / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.394, allocations: 15.94 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.394, allocations: 0 / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.394, allocations: 0 / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.3944, allocations: 306 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.3946, allocations: 148.2 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.3946, allocations: 3.984 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3948, allocations: 8 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.3948, allocations: 4.188 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3948, allocations: 15.98 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006826/0.3955, allocations: 0.5848 MB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3955, allocations: 0 / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004056/0.3959, allocations: 124 kB / 1.082 GB, free: 11.79 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.000399/0.3963, allocations: 190 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.3967, allocations: 211.2 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3967, allocations: 4 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3969, allocations: 147.4 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.3975, allocations: 118.8 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3991, allocations: 1.189 MB / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.3997, allocations: 0.9745 MB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.485e-05/0.3998, allocations: 33.94 kB / 1.085 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.3998, allocations: 15.44 kB / 1.085 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3998, allocations: 0 / 1.085 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of Templates: time 0.01117/0.411, allocations: 5.334 MB / 1.09 GB, free: 3.582 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1)