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.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001756/0.001756, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.83 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3916, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003539/0.3952, allocations: 2.099 MB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.3986, allocations: 2.569 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3987, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.4001, allocations: 0.5099 MB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.4002, allocations: 59.66 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.401, allocations: 247.6 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.4016, allocations: 361.8 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.4017, allocations: 93.06 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.402, allocations: 111.5 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.4022, allocations: 147.2 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.4023, allocations: 8 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.4028, allocations: 319.5 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.4029, allocations: 103.5 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.4032, allocations: 218.5 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.4043, allocations: 0.8099 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4043, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4043, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.4044, allocations: 0 / 1.075 GB, free: 3.105 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.001458/0.4058, allocations: 0.8759 MB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4059, allocations: 8.031 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.406, allocations: 68.09 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.4066, allocations: 384.3 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4066, allocations: 12.31 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.4066, allocations: 12.36 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.4069, allocations: 125.9 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4069, allocations: 0 / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.407, allocations: 4 kB / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.407, allocations: 8 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.4072, allocations: 99.94 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.4082, allocations: 0.5431 MB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.4084, allocations: 106.5 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.4085, allocations: 64.97 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.4086, allocations: 8.188 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/0.4089, allocations: 137 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.4089, allocations: 0 / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0006067/0.4095, allocations: 306.4 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.4096, allocations: 85.11 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.4108, allocations: 0.7896 MB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4108, allocations: 25.7 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.4111, allocations: 300.1 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.4112, allocations: 23.66 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.4113, allocations: 33.7 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.4114, allocations: 306 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.4115, allocations: 51.91 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.4116, allocations: 47.97 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.4118, allocations: 152.7 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4118, allocations: 0 / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003458/0.4122, allocations: 282.3 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.4122, allocations: 33.69 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4123, allocations: 4 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4123, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.4124, allocations: 8 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4124, allocations: 3.938 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.4125, allocations: 11.92 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.4125, allocations: 4.062 kB / 1.08 GB, free: 13.96 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.0003445/0.4129, allocations: 343.4 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.413, allocations: 75.09 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.4134, allocations: 285.1 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4134, allocations: 7.938 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4134, allocations: 0 / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4134, allocations: 3.938 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.4138, allocations: 381.3 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4138, allocations: 3.938 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.4139, allocations: 19.91 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4139, allocations: 0 / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4139, allocations: 8 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4139, allocations: 4 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4139, allocations: 0 / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.4143, allocations: 302 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.4144, allocations: 144.2 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.4145, allocations: 7.984 kB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4146, allocations: 8 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.4147, allocations: 4 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.4147, allocations: 11.98 kB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007161/0.4154, allocations: 0.5848 MB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4154, allocations: 0 / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004488/0.4159, allocations: 124 kB / 1.082 GB, free: 11.55 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.0003965/0.4163, allocations: 192.1 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.4166, allocations: 203.3 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4166, allocations: 0 / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.4168, allocations: 155.3 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.4173, allocations: 128.9 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4189, allocations: 1.187 MB / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.4195, allocations: 0.9821 MB / 1.085 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.4196, allocations: 29.89 kB / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.4196, allocations: 15.44 kB / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4196, allocations: 0 / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.01121/0.4309, allocations: 5.5 MB / 1.09 GB, free: 3.18 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)