Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 297.4 MB / 312.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 182 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.7 MB / 0.6617 GB, free: 7.25 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008645/0.0008644, allocations: 97.31 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 12 kB / 0.9059 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5569, allocations: 119.2 MB / 1.022 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002169/0.5591, allocations: 1.671 MB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.5619, allocations: 2.904 MB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.5621, allocations: 3.406 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.5633, allocations: 487.1 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.5635, allocations: 54.31 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.5641, allocations: 214.4 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.5644, allocations: 291.6 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.5646, allocations: 91.06 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.5647, allocations: 104.5 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.5648, allocations: 127.5 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.5649, allocations: 3.906 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.5653, allocations: 288.4 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.5654, allocations: 91.34 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.5656, allocations: 221.1 kB / 1.029 GB, free: 53.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.5662, allocations: 0.756 MB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5662, allocations: 3.594 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5662, allocations: 0 / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5662, allocations: 0 / 1.029 GB, free: 53.64 MB / 0.698 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.0007454/0.567, allocations: 0.7655 MB / 1.03 GB, free: 52.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.567, allocations: 12.06 kB / 1.03 GB, free: 52.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.5671, allocations: 67.7 kB / 1.03 GB, free: 52.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.5675, allocations: 359.2 kB / 1.031 GB, free: 52.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.5675, allocations: 4.094 kB / 1.031 GB, free: 52.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.5675, allocations: 14 kB / 1.031 GB, free: 52.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.5678, allocations: 128.6 kB / 1.031 GB, free: 52.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5678, allocations: 3.938 kB / 1.031 GB, free: 52.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.5678, allocations: 6.031 kB / 1.031 GB, free: 52.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5678, allocations: 7 kB / 1.031 GB, free: 52.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.568, allocations: 95.67 kB / 1.031 GB, free: 52.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.5686, allocations: 0.542 MB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.5688, allocations: 105.3 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.5688, allocations: 69.53 kB / 1.031 GB, free: 52.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.5689, allocations: 7.531 kB / 1.031 GB, free: 52.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.5691, allocations: 135 kB / 1.032 GB, free: 51.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.5691, allocations: 0 / 1.032 GB, free: 51.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004015/0.5695, allocations: 296.5 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.5696, allocations: 85.64 kB / 1.032 GB, free: 51.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.5703, allocations: 0.7543 MB / 1.033 GB, free: 51.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.5703, allocations: 33.64 kB / 1.033 GB, free: 51.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.5705, allocations: 279.9 kB / 1.033 GB, free: 51.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.5705, allocations: 27.12 kB / 1.033 GB, free: 51.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5705, allocations: 5.781 kB / 1.033 GB, free: 51.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.5706, allocations: 306 kB / 1.033 GB, free: 50.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.5707, allocations: 46.22 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.5707, allocations: 53.66 kB / 1.033 GB, free: 50.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.5709, allocations: 152 kB / 1.034 GB, free: 50.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5709, allocations: 4.781 kB / 1.034 GB, free: 50.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002519/0.5711, allocations: 262.4 kB / 1.034 GB, free: 50.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.5712, allocations: 35.17 kB / 1.034 GB, free: 50.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5712, allocations: 0 / 1.034 GB, free: 50.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5712, allocations: 4.516 kB / 1.034 GB, free: 50.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.237e-05/0.5713, allocations: 8.781 kB / 1.034 GB, free: 50.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5713, allocations: 0 / 1.034 GB, free: 50.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.5714, allocations: 20.77 kB / 1.034 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.5715, allocations: 14.41 kB / 1.034 GB, free: 50.54 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.5717, allocations: 339.9 kB / 1.034 GB, free: 50.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.5718, allocations: 60.47 kB / 1.034 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.5721, allocations: 289.4 kB / 1.035 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5721, allocations: 0 / 1.035 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5721, allocations: 2.812 kB / 1.035 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5722, allocations: 0 / 1.035 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.5724, allocations: 368.8 kB / 1.035 GB, free: 49.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5724, allocations: 0 / 1.035 GB, free: 49.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.5725, allocations: 14 kB / 1.035 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5725, allocations: 0 / 1.035 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5725, allocations: 13.14 kB / 1.035 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5725, allocations: 2.125 kB / 1.035 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5725, allocations: 0 / 1.035 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.5728, allocations: 311.5 kB / 1.035 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/0.5729, allocations: 140.4 kB / 1.035 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.573, allocations: 3.375 kB / 1.035 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5731, allocations: 14.44 kB / 1.035 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.5731, allocations: 9.188 kB / 1.035 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5731, allocations: 6.969 kB / 1.035 GB, free: 49.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005173/0.5737, allocations: 0.5558 MB / 1.036 GB, free: 49.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5737, allocations: 3.938 kB / 1.036 GB, free: 49.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003746/0.574, allocations: 121.4 kB / 1.036 GB, free: 49.35 MB / 0.698 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.0003059/0.5744, allocations: 194.3 kB / 1.036 GB, free: 49.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.5746, allocations: 201.7 kB / 1.036 GB, free: 49.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5746, allocations: 7.938 kB / 1.036 GB, free: 49.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.5747, allocations: 145.8 kB / 1.037 GB, free: 49.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.5752, allocations: 102.8 kB / 1.037 GB, free: 49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.5764, allocations: 1.152 MB / 1.038 GB, free: 48.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.5768, allocations: 0.9628 MB / 1.039 GB, free: 47.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.752e-05/0.5769, allocations: 19.39 kB / 1.039 GB, free: 47.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.5769, allocations: 15.16 kB / 1.039 GB, free: 47.64 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.5769, allocations: 4 kB / 1.039 GB, free: 47.63 MB / 0.698 GB Notification: Performance of Templates: time 0.009246/0.5861, allocations: 4.968 MB / 1.044 GB, free: 47.33 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)