Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001175/0.001175, allocations: 90.52 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.01227/0.01227, allocations: 171.1 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.499/1.499, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.098/3.098, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003777, allocations: 9.781 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3704, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002702/0.3731, allocations: 1.76 MB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.377, allocations: 2.578 MB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3772, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.3787, allocations: 0.5098 MB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.379, allocations: 63.66 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.3798, allocations: 203.6 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.3803, allocations: 317.9 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.3805, allocations: 97.05 kB / 1.08 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.3807, allocations: 91.47 kB / 1.08 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.381, allocations: 135.2 kB / 1.08 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3811, allocations: 4 kB / 1.08 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.3817, allocations: 307.5 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.3819, allocations: 103.5 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.3822, allocations: 228.2 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.3833, allocations: 0.7825 MB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3834, allocations: 0 / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3834, allocations: 0 / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.3834, allocations: 0 / 1.081 GB, free: 344 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001474/0.3849, allocations: 0.8066 MB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.3849, allocations: 8.031 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.3851, allocations: 68.09 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.3855, allocations: 388.3 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3856, allocations: 8.359 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3856, allocations: 8.375 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.3859, allocations: 134.4 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3859, allocations: 0 / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3859, allocations: 4 kB / 1.083 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3859, allocations: 8 kB / 1.083 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.3861, allocations: 97.66 kB / 1.083 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008516/0.387, allocations: 0.5393 MB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3872, allocations: 110.5 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.3873, allocations: 64.92 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.3873, allocations: 12.11 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.3876, allocations: 133 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.3876, allocations: 0 / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0005385/0.3882, allocations: 310.5 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.3883, allocations: 81.11 kB / 1.084 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.3894, allocations: 0.7973 MB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3894, allocations: 33.7 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.3897, allocations: 284.3 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.3897, allocations: 27.64 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3898, allocations: 21.72 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3899, allocations: 313.9 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/0.39, allocations: 43.98 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.3901, allocations: 47.97 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3903, allocations: 156.2 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3903, allocations: 0 / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003375/0.3906, allocations: 270.8 kB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.3907, allocations: 37.69 kB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3907, allocations: 0 / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3907, allocations: 4 kB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.3908, allocations: 7.984 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3908, allocations: 4 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.391, allocations: 15.84 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.391, allocations: 4 kB / 1.086 GB, free: 11.27 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.000347/0.3913, allocations: 348.8 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.3914, allocations: 67.19 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.3919, allocations: 300.9 kB / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.3919, allocations: 0 / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3919, allocations: 0 / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3919, allocations: 0 / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.3924, allocations: 385.3 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3924, allocations: 3.938 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.3924, allocations: 8 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3924, allocations: 0 / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3924, allocations: 8.125 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3925, allocations: 4 kB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3925, allocations: 0 / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.3928, allocations: 317.7 kB / 1.087 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.393, allocations: 152.2 kB / 1.087 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.3931, allocations: 4 kB / 1.087 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3932, allocations: 8 kB / 1.087 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.3933, allocations: 7.984 kB / 1.087 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3933, allocations: 12 kB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008517/0.3941, allocations: 0.5809 MB / 1.088 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3942, allocations: 0 / 1.088 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004579/0.3946, allocations: 124 kB / 1.088 GB, free: 8.848 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.0004641/0.3951, allocations: 187.2 kB / 1.088 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.3955, allocations: 199.3 kB / 1.088 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3955, allocations: 0 / 1.088 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.3957, allocations: 159.2 kB / 1.089 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.3964, allocations: 122.8 kB / 1.089 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.3981, allocations: 1.206 MB / 1.09 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.3987, allocations: 0.9822 MB / 1.091 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.3989, allocations: 25.95 kB / 1.091 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3989, allocations: 15.44 kB / 1.091 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.3989, allocations: 3.938 kB / 1.091 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of Templates: time 0.01204/0.411, allocations: 5.315 MB / 1.096 GB, free: 0.6328 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1)