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.001671/0.001671, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002021/0.002021, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.448/1.448, allocations: 205.1 MB / 222 MB, free: 4.746 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.473/1.473, allocations: 251.6 MB / 0.5088 GB, free: 3.375 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.001343/0.001344, allocations: 63.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5012, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003585/0.5048, allocations: 2.043 MB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.5081, allocations: 2.571 MB / 0.7283 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.5083, allocations: 4 kB / 0.7283 GB, free: 8.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5094, allocations: 491.9 kB / 0.7288 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.5096, allocations: 43.75 kB / 0.7288 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.5103, allocations: 211.1 kB / 0.729 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.5107, allocations: 306.5 kB / 0.7293 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.5108, allocations: 84.72 kB / 0.7294 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.511, allocations: 95.47 kB / 0.7295 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.5111, allocations: 135.3 kB / 0.7296 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.5112, allocations: 4 kB / 0.7296 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.5116, allocations: 311.5 kB / 0.7299 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.5118, allocations: 95.55 kB / 0.73 GB, free: 6.762 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.5119, allocations: 198.6 kB / 0.7302 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006994/0.5127, allocations: 0.7632 MB / 0.731 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5127, allocations: 0 / 0.731 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5127, allocations: 0 / 0.731 GB, free: 5.801 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5127, allocations: 0 / 0.731 GB, free: 5.801 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.0009522/0.5136, allocations: 0.8411 MB / 0.7318 GB, free: 4.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.5137, allocations: 11.97 kB / 0.7318 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.5138, allocations: 60.19 kB / 0.7319 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.5141, allocations: 364.5 kB / 0.7322 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5141, allocations: 8.375 kB / 0.7322 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.5141, allocations: 12.31 kB / 0.7322 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.5143, allocations: 129.9 kB / 0.7323 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5144, allocations: 3.938 kB / 0.7323 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.5144, allocations: 3.938 kB / 0.7324 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5144, allocations: 4 kB / 0.7324 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.5145, allocations: 103.9 kB / 0.7325 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006537/0.5152, allocations: 0.5315 MB / 0.733 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.5154, allocations: 102.6 kB / 0.7331 GB, free: 3.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/0.5155, allocations: 64.94 kB / 0.7331 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.5155, allocations: 8.188 kB / 0.7331 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.5158, allocations: 137 kB / 0.7333 GB, free: 3.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.5158, allocations: 0 / 0.7333 GB, free: 3.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004616/0.5162, allocations: 306.5 kB / 0.7336 GB, free: 2.941 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.5163, allocations: 85.03 kB / 0.7336 GB, free: 2.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.5171, allocations: 0.7581 MB / 0.7344 GB, free: 2.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.5171, allocations: 25.7 kB / 0.7344 GB, free: 2.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.5174, allocations: 280.3 kB / 0.7347 GB, free: 1.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.5174, allocations: 27.56 kB / 0.7347 GB, free: 1.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.5175, allocations: 29.7 kB / 0.7347 GB, free: 1.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.5176, allocations: 310 kB / 0.735 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.5176, allocations: 47.97 kB / 0.7351 GB, free: 1.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.5177, allocations: 51.92 kB / 0.7351 GB, free: 1.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.5179, allocations: 156.6 kB / 0.7353 GB, free: 1.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5179, allocations: 0 / 0.7353 GB, free: 1.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003016/0.5182, allocations: 266.5 kB / 0.7355 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.5183, allocations: 41.69 kB / 0.7356 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5183, allocations: 4 kB / 0.7356 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5183, allocations: 0 / 0.7356 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.5184, allocations: 4 kB / 0.7356 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.5184, allocations: 4 kB / 0.7356 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.5185, allocations: 4 kB / 0.7356 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.5185, allocations: 11.92 kB / 0.7356 GB, free: 0.7773 MB / 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 (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.0003194/0.5189, allocations: 327.4 kB / 0.7359 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.5189, allocations: 71.19 kB / 0.736 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.5194, allocations: 292.6 kB / 0.7363 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5194, allocations: 0 / 0.7363 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5194, allocations: 4.062 kB / 0.7363 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5194, allocations: 4 kB / 0.7363 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.5198, allocations: 373.4 kB / 0.7366 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5198, allocations: 3.938 kB / 0.7366 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.5198, allocations: 11.94 kB / 0.7366 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5198, allocations: 7.922 kB / 0.7366 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.5198, allocations: 4 kB / 0.7366 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5199, allocations: 4 kB / 0.7366 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5199, allocations: 3.984 kB / 0.7367 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.5202, allocations: 302 kB / 0.7369 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.5203, allocations: 144.3 kB / 0.7371 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.5204, allocations: 4 kB / 0.7371 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5205, allocations: 7.984 kB / 0.7371 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.5206, allocations: 4 kB / 0.7371 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.5206, allocations: 8 kB / 0.7371 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006194/0.5212, allocations: 0.5614 MB / 0.7376 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5212, allocations: 0 / 0.7376 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000461/0.5217, allocations: 127.9 kB / 0.7378 GB, free: 14.43 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.0003903/0.5221, allocations: 190.3 kB / 0.738 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.5224, allocations: 211.3 kB / 0.7382 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5224, allocations: 0 / 0.7382 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.5225, allocations: 147.4 kB / 0.7383 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.5231, allocations: 103.4 kB / 0.7384 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.5245, allocations: 1.139 MB / 0.7395 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.525, allocations: 0.9663 MB / 0.7404 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.634e-05/0.5251, allocations: 21.55 kB / 0.7405 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.5252, allocations: 11.44 kB / 0.7405 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5252, allocations: 0 / 0.7405 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.00893/0.5341, allocations: 4.982 MB / 0.7453 GB, free: 6.68 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (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)