Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.000798, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006583/0.006583, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.598/1.598, allocations: 252 MB / 0.5105 GB, free: 4.617 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006119/0.000612, allocations: 12 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5429, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002413/0.5453, allocations: 1.704 MB / 0.7304 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.5491, allocations: 2.513 MB / 0.7329 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.5493, allocations: 7.938 kB / 0.7329 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.5508, allocations: 480 kB / 0.7333 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.551, allocations: 55.73 kB / 0.7334 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009147/0.552, allocations: 210.4 kB / 0.7336 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.5525, allocations: 302.4 kB / 0.7339 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.5527, allocations: 80.72 kB / 0.7339 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.5529, allocations: 95.45 kB / 0.734 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.5532, allocations: 127.3 kB / 0.7342 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.5532, allocations: 4 kB / 0.7342 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.5538, allocations: 303.6 kB / 0.7345 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.5539, allocations: 103.5 kB / 0.7346 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.5541, allocations: 216.3 kB / 0.7348 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.555, allocations: 0.7514 MB / 0.7355 GB, free: 4.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.555, allocations: 4 kB / 0.7355 GB, free: 4.324 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.555, allocations: 0 / 0.7355 GB, free: 4.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.555, allocations: 0 / 0.7355 GB, free: 4.324 MB / 0.545 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.001129/0.5562, allocations: 0.7676 MB / 0.7362 GB, free: 3.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5562, allocations: 12.03 kB / 0.7363 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.5563, allocations: 64.09 kB / 0.7363 GB, free: 3.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.5569, allocations: 364.5 kB / 0.7367 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.5569, allocations: 4.375 kB / 0.7367 GB, free: 3.027 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.557, allocations: 8.375 kB / 0.7367 GB, free: 3.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.5573, allocations: 132.6 kB / 0.7368 GB, free: 2.887 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5573, allocations: 3.938 kB / 0.7368 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.5573, allocations: 7.984 kB / 0.7368 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.5574, allocations: 4 kB / 0.7368 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.5575, allocations: 95.94 kB / 0.7369 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008373/0.5584, allocations: 0.5431 MB / 0.7374 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.5586, allocations: 110.5 kB / 0.7375 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.5587, allocations: 60.98 kB / 0.7376 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.5587, allocations: 12.11 kB / 0.7376 GB, free: 1.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.559, allocations: 133 kB / 0.7377 GB, free: 1.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.559, allocations: 0 / 0.7377 GB, free: 1.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005496/0.5595, allocations: 298.7 kB / 0.738 GB, free: 1.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.5596, allocations: 89.05 kB / 0.7381 GB, free: 1.434 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.5607, allocations: 0.7619 MB / 0.7389 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.5607, allocations: 29.7 kB / 0.7389 GB, free: 0.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.561, allocations: 272.3 kB / 0.7391 GB, free: 364 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.561, allocations: 27.64 kB / 0.7392 GB, free: 336 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.5611, allocations: 21.72 kB / 0.7392 GB, free: 308 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5612, allocations: 313.9 kB / 0.7395 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.5613, allocations: 43.98 kB / 0.7395 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.5614, allocations: 47.97 kB / 0.7396 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.5616, allocations: 156.2 kB / 0.7397 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5616, allocations: 0 / 0.7397 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00035/0.562, allocations: 262.5 kB / 0.74 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.562, allocations: 39.56 kB / 0.74 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.562, allocations: 0 / 0.74 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5621, allocations: 4 kB / 0.74 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.5622, allocations: 12.06 kB / 0.74 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.5622, allocations: 3.984 kB / 0.74 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.5623, allocations: 11.91 kB / 0.74 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.5623, allocations: 4 kB / 0.74 GB, free: 15.38 MB / 0.5606 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.0003533/0.5627, allocations: 343.3 kB / 0.7404 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.5628, allocations: 67.19 kB / 0.7404 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.5632, allocations: 288.6 kB / 0.7407 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.5632, allocations: 4 kB / 0.7407 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5633, allocations: 0 / 0.7407 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5633, allocations: 0 / 0.7407 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.5637, allocations: 377.2 kB / 0.7411 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5637, allocations: 7.938 kB / 0.7411 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.5638, allocations: 4 kB / 0.7411 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5638, allocations: 0 / 0.7411 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5638, allocations: 4 kB / 0.7411 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5638, allocations: 0 / 0.7411 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5638, allocations: 0 / 0.7411 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.5642, allocations: 314.3 kB / 0.7414 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.5644, allocations: 148.3 kB / 0.7415 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.5644, allocations: 7.938 kB / 0.7415 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.5645, allocations: 4 kB / 0.7415 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.5646, allocations: 11.98 kB / 0.7416 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5646, allocations: 4 kB / 0.7416 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006792/0.5653, allocations: 0.5653 MB / 0.7421 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5653, allocations: 4 kB / 0.7421 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004258/0.5657, allocations: 120 kB / 0.7422 GB, free: 13.02 MB / 0.5606 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.0004693/0.5662, allocations: 191.2 kB / 0.7424 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.5665, allocations: 199.3 kB / 0.7426 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5665, allocations: 0 / 0.7426 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5667, allocations: 155.2 kB / 0.7428 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.5672, allocations: 106.4 kB / 0.7429 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.569, allocations: 1.157 MB / 0.744 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.5696, allocations: 0.9663 MB / 0.7449 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.973e-05/0.5697, allocations: 17.56 kB / 0.7449 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.5698, allocations: 15.44 kB / 0.745 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.5698, allocations: 0 / 0.745 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.01103/0.5808, allocations: 4.954 MB / 0.7498 GB, free: 5.281 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) Environment - environmentSimulation: