Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.626/2.626, allocations: 254.9 MB / 269.9 MB, free: 9.625 MB / 218.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.001348/0.001348, allocations: 198.7 kB / 329.5 MB, free: 1.145 MB / 250.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 2.37/2.37, allocations: 225.6 MB / 0.6001 GB, free: 0.4961 MB / 426.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.0009986/0.0009983, allocations: 95.38 kB / 0.7074 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007425/0.0007427, allocations: 12.56 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2189, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00238/0.2213, allocations: 1.667 MB / 0.9324 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.2248, allocations: 2.28 MB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.225, allocations: 4 kB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.2266, allocations: 462.4 kB / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.2267, allocations: 51.73 kB / 0.9351 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.2276, allocations: 203.6 kB / 0.9353 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.228, allocations: 278.6 kB / 0.9356 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.2282, allocations: 96.69 kB / 0.9357 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2284, allocations: 99.52 kB / 0.9358 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.2286, allocations: 115.4 kB / 0.9359 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.2286, allocations: 4 kB / 0.9359 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005837/0.2292, allocations: 283.6 kB / 0.9362 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2293, allocations: 95.59 kB / 0.9362 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.2294, allocations: 117.4 kB / 0.9364 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006616/0.2301, allocations: 0.5963 MB / 0.9369 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2301, allocations: 0 / 0.9369 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2301, allocations: 0 / 0.9369 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2302, allocations: 0 / 0.9369 GB, free: 18.5 MB / 0.5886 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.0009978/0.2312, allocations: 0.7753 MB / 0.9377 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2312, allocations: 8.031 kB / 0.9377 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.2313, allocations: 60.19 kB / 0.9378 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.2317, allocations: 341.1 kB / 0.9381 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2317, allocations: 8.375 kB / 0.9381 GB, free: 17.22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.2318, allocations: 12.38 kB / 0.9381 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.2321, allocations: 125.9 kB / 0.9382 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2321, allocations: 0 / 0.9382 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.2321, allocations: 4 kB / 0.9382 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2321, allocations: 4 kB / 0.9382 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.2324, allocations: 91.94 kB / 0.9383 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.2332, allocations: 0.5432 MB / 0.9389 GB, free: 16.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2334, allocations: 106.5 kB / 0.939 GB, free: 16.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.2336, allocations: 68.89 kB / 0.939 GB, free: 16.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.2337, allocations: 8.188 kB / 0.939 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.234, allocations: 133 kB / 0.9392 GB, free: 16.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.745e-06/0.2341, allocations: 4 kB / 0.9392 GB, free: 16.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0006404/0.2347, allocations: 290.7 kB / 0.9394 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2348, allocations: 93.03 kB / 0.9395 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.236, allocations: 0.7541 MB / 0.9403 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.236, allocations: 29.7 kB / 0.9403 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.2363, allocations: 280.2 kB / 0.9406 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.2363, allocations: 27.64 kB / 0.9406 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.2364, allocations: 3.938 kB / 0.9406 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.2364, allocations: 314 kB / 0.9409 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2365, allocations: 43.98 kB / 0.9409 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.2367, allocations: 47.97 kB / 0.941 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.2368, allocations: 73.69 kB / 0.941 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2368, allocations: 0 / 0.941 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004325/0.2372, allocations: 262.5 kB / 0.9413 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.2373, allocations: 33.69 kB / 0.9413 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2373, allocations: 4 kB / 0.9413 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2373, allocations: 0 / 0.9413 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2375, allocations: 11.94 kB / 0.9413 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2375, allocations: 8 kB / 0.9414 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2377, allocations: 11.84 kB / 0.9414 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2378, allocations: 7.984 kB / 0.9414 GB, free: 13.7 MB / 0.5886 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.0004157/0.2382, allocations: 331.4 kB / 0.9417 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.2383, allocations: 67.12 kB / 0.9418 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.2388, allocations: 293.2 kB / 0.942 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.2388, allocations: 4 kB / 0.942 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2389, allocations: 0 / 0.942 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2389, allocations: 11.94 kB / 0.942 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.2393, allocations: 369.4 kB / 0.9424 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2393, allocations: 3.938 kB / 0.9424 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/0.2394, allocations: 7.984 kB / 0.9424 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2394, allocations: 0 / 0.9424 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.2394, allocations: 4 kB / 0.9424 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2394, allocations: 0 / 0.9424 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2394, allocations: 0 / 0.9424 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.2399, allocations: 313.9 kB / 0.9427 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.2401, allocations: 140.3 kB / 0.9428 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.2402, allocations: 8 kB / 0.9429 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2404, allocations: 7.984 kB / 0.9429 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.2405, allocations: 4 kB / 0.9429 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.2405, allocations: 4 kB / 0.9429 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009063/0.2414, allocations: 0.5614 MB / 0.9434 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2414, allocations: 4 kB / 0.9434 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005325/0.242, allocations: 127.9 kB / 0.9435 GB, free: 11.35 MB / 0.5886 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.0004631/0.2424, allocations: 199.1 kB / 0.9437 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.2428, allocations: 203.3 kB / 0.9439 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2428, allocations: 0 / 0.9439 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.243, allocations: 147.2 kB / 0.9441 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.2438, allocations: 109.4 kB / 0.9442 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.2457, allocations: 1.106 MB / 0.9453 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.2463, allocations: 0.9546 MB / 0.9462 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.2464, allocations: 29.53 kB / 0.9462 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2465, allocations: 15.44 kB / 0.9462 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/0.2465, allocations: 0 / 0.9462 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of Templates: time 0.01384/0.2603, allocations: 4.865 MB / 0.951 GB, free: 3.723 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)