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.000812/0.000812, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001196/0.001196, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.581/1.581, allocations: 252 MB / 0.5102 GB, free: 4.781 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.0005515/0.0005516, allocations: 20 kB / 0.6243 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6024/0.6029, allocations: 106.3 MB / 0.7282 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002638/0.6056, allocations: 1.666 MB / 0.7298 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003077/0.6087, allocations: 2.328 MB / 0.7321 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.6089, allocations: 4 kB / 0.7321 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.61, allocations: 456.2 kB / 0.7325 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.6101, allocations: 59.72 kB / 0.7325 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006305/0.6108, allocations: 198.5 kB / 0.7327 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.6111, allocations: 274.6 kB / 0.733 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.6113, allocations: 84.7 kB / 0.7331 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.6115, allocations: 103.5 kB / 0.7332 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.6116, allocations: 115.4 kB / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.6117, allocations: 4 kB / 0.7333 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.6121, allocations: 287.6 kB / 0.7336 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.6122, allocations: 91.61 kB / 0.7337 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.4e-05/0.6123, allocations: 121.4 kB / 0.7338 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.6129, allocations: 0.5885 MB / 0.7343 GB, free: 5.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6129, allocations: 3.938 kB / 0.7343 GB, free: 5.176 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6129, allocations: 0 / 0.7343 GB, free: 5.176 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6129, allocations: 0 / 0.7343 GB, free: 5.176 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.000959/0.6139, allocations: 0.7791 MB / 0.7351 GB, free: 4.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6139, allocations: 12.03 kB / 0.7351 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.614, allocations: 67.11 kB / 0.7352 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.6144, allocations: 323.9 kB / 0.7355 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.6144, allocations: 15.94 kB / 0.7355 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.6145, allocations: 8 kB / 0.7355 GB, free: 3.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.6147, allocations: 126.2 kB / 0.7356 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.6147, allocations: 0 / 0.7356 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.6147, allocations: 0 / 0.7356 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6147, allocations: 4 kB / 0.7356 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.6149, allocations: 100.1 kB / 0.7357 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.6157, allocations: 0.5474 MB / 0.7363 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.6159, allocations: 102.6 kB / 0.7364 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.616, allocations: 68.91 kB / 0.7364 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.616, allocations: 4 kB / 0.7364 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.6163, allocations: 141 kB / 0.7366 GB, free: 2.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.6163, allocations: 0 / 0.7366 GB, free: 2.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004601/0.6167, allocations: 298.6 kB / 0.7369 GB, free: 2.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.6168, allocations: 85.05 kB / 0.7369 GB, free: 2.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/0.6177, allocations: 0.7581 MB / 0.7377 GB, free: 1.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.6177, allocations: 25.7 kB / 0.7377 GB, free: 1.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.6179, allocations: 272.2 kB / 0.738 GB, free: 1.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.618, allocations: 31.58 kB / 0.738 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.618, allocations: 8 kB / 0.738 GB, free: 1.199 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.6182, allocations: 313.9 kB / 0.7383 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.6183, allocations: 47.97 kB / 0.7383 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.6184, allocations: 43.98 kB / 0.7384 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/0.6185, allocations: 73.67 kB / 0.7385 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6185, allocations: 0 / 0.7385 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003071/0.6188, allocations: 262.6 kB / 0.7387 GB, free: 460 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.6188, allocations: 33.7 kB / 0.7387 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6188, allocations: 0 / 0.7387 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6189, allocations: 0 / 0.7387 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.6189, allocations: 15.92 kB / 0.7388 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.619, allocations: 4 kB / 0.7388 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.6191, allocations: 19.89 kB / 0.7388 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.6191, allocations: 4 kB / 0.7388 GB, free: 376 kB / 0.545 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 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003964/0.6195, allocations: 339.2 kB / 0.7391 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.6196, allocations: 63.23 kB / 0.7392 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.62, allocations: 284.7 kB / 0.7394 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.62, allocations: 4 kB / 0.7394 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.62, allocations: 4 kB / 0.7394 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.62, allocations: 0 / 0.7394 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.6204, allocations: 377.4 kB / 0.7398 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6204, allocations: 7.938 kB / 0.7398 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.6205, allocations: 4 kB / 0.7398 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6205, allocations: 4 kB / 0.7398 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6205, allocations: 4 kB / 0.7398 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6205, allocations: 4 kB / 0.7398 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6205, allocations: 0 / 0.7398 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.6208, allocations: 306 kB / 0.7401 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.621, allocations: 144.3 kB / 0.7403 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.6211, allocations: 4 kB / 0.7403 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.6212, allocations: 12 kB / 0.7403 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.6212, allocations: 3.984 kB / 0.7403 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6212, allocations: 4 kB / 0.7403 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006214/0.6219, allocations: 0.5614 MB / 0.7408 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.184e-06/0.6219, allocations: 0 / 0.7408 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004148/0.6223, allocations: 123.9 kB / 0.7409 GB, free: 14.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003999/0.6227, allocations: 195.6 kB / 0.7411 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.623, allocations: 207.3 kB / 0.7413 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.623, allocations: 0 / 0.7413 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.6232, allocations: 151.2 kB / 0.7415 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.6237, allocations: 97.75 kB / 0.7416 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.6252, allocations: 1.102 MB / 0.7426 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.6258, allocations: 0.9585 MB / 0.7436 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.6259, allocations: 29.47 kB / 0.7436 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.626, allocations: 15.44 kB / 0.7436 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.626, allocations: 0 / 0.7436 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01265/0.6386, allocations: 4.863 MB / 0.7484 GB, free: 6.43 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: