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.001411/0.001411, 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.001661/0.001661, allocations: 195 kB / 16.14 MB, free: 6.703 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 66.22 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 159.9 MB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003612/0.3931, allocations: 2.11 MB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.3967, allocations: 2.624 MB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3968, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.3982, allocations: 0.5099 MB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3983, allocations: 67.64 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.399, allocations: 199.6 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.3994, allocations: 318.4 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.3996, allocations: 85.05 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3997, allocations: 107.5 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3999, allocations: 139.2 kB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.3999, allocations: 4 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.4004, allocations: 303.6 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.4006, allocations: 107.5 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.4008, allocations: 214.5 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.4016, allocations: 0.7943 MB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4016, allocations: 0 / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4016, allocations: 0 / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4016, allocations: 0 / 1.075 GB, free: 3.398 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.001367/0.403, allocations: 0.8682 MB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4031, allocations: 8.031 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.4032, allocations: 68.09 kB / 1.076 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.4037, allocations: 388.3 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.4038, allocations: 12.38 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.4038, allocations: 8.375 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.4041, allocations: 130.5 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4041, allocations: 4 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.4041, allocations: 3.938 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4041, allocations: 4 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.4043, allocations: 99.94 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008363/0.4051, allocations: 0.547 MB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.4053, allocations: 114.5 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.4054, allocations: 60.92 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.4055, allocations: 8.172 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.4058, allocations: 133 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 3.958e-06/0.4058, allocations: 7.984 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005419/0.4063, allocations: 306.5 kB / 1.078 GB, free: 472 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4065, allocations: 85.09 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/0.4074, allocations: 0.7896 MB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.4074, allocations: 29.7 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.4077, allocations: 288.2 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.4077, allocations: 31.62 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.4078, allocations: 33.64 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4079, allocations: 310 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.408, allocations: 47.97 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.4081, allocations: 43.98 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.4083, allocations: 160.6 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4083, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003472/0.4086, allocations: 274.4 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.4087, allocations: 35.56 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4087, allocations: 4 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4087, allocations: 0 / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.4088, allocations: 8 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4088, allocations: 4 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.4089, allocations: 11.94 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.409, allocations: 7.938 kB / 1.08 GB, free: 14.25 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.0004825/0.4095, allocations: 335.4 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.4095, allocations: 71.09 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.41, allocations: 297 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.41, allocations: 4 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.41, allocations: 0 / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.41, allocations: 4 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.4106, allocations: 381.3 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4106, allocations: 7.875 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.4107, allocations: 8 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4107, allocations: 0 / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4107, allocations: 3.984 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4107, allocations: 4 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4107, allocations: 0 / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.4112, allocations: 314.1 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.4113, allocations: 144.2 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.4114, allocations: 12 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4115, allocations: 7.984 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.4116, allocations: 4 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.4116, allocations: 8 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006666/0.4123, allocations: 0.5848 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4123, allocations: 0 / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004561/0.4127, allocations: 124 kB / 1.082 GB, free: 11.84 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.00039/0.4131, allocations: 193.6 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.4134, allocations: 203.3 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4134, allocations: 3.938 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.4136, allocations: 147.4 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.4142, allocations: 119.7 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4157, allocations: 1.192 MB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.4165, allocations: 0.9746 MB / 1.085 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.4166, allocations: 29.88 kB / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.4166, allocations: 27.42 kB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4166, allocations: 0 / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of Templates: time 0.01109/0.4277, allocations: 5.319 MB / 1.09 GB, free: 3.645 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)