Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadModel(Buildings): time 4.243/4.243, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.398e-05/5.423e-05, allocations: 4.781 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1964, allocations: 98.72 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.3964, allocations: 131.2 MB / 0.7628 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.3968, allocations: 91.94 kB / 0.7629 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05185/0.4487, allocations: 12.78 MB / 0.7754 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4487, allocations: 0 / 0.7754 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.778e-05/0.4487, allocations: 8 kB / 0.7754 GB, free: 1.613 MB / 0.6511 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.001002/0.4498, allocations: 0.7014 MB / 0.7761 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4498, allocations: 8.031 kB / 0.7761 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.4499, allocations: 59.25 kB / 0.7761 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.4505, allocations: 339.8 kB / 0.7765 GB, free: 428 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.4505, allocations: 8 kB / 0.7765 GB, free: 420 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.4506, allocations: 11.94 kB / 0.7765 GB, free: 408 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.4509, allocations: 132.4 kB / 0.7766 GB, free: 268 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.773e-06/0.4509, allocations: 0 / 0.7766 GB, free: 268 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.4509, allocations: 0 / 0.7766 GB, free: 268 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-06/0.451, allocations: 0 / 0.7766 GB, free: 268 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.4512, allocations: 96.08 kB / 0.7767 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4362/0.8874, allocations: 0.5452 MB / 0.7772 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.8877, allocations: 109.9 kB / 0.7773 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.8879, allocations: 63.58 kB / 0.7774 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.8879, allocations: 5.781 kB / 0.7774 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.8882, allocations: 135.9 kB / 0.7775 GB, free: 136 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.859e-06/0.8882, allocations: 3.219 kB / 0.7775 GB, free: 136 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0004775/0.8887, allocations: 227.3 kB / 0.7778 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.8887, allocations: 81.64 kB / 0.7778 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.8898, allocations: 0.6702 MB / 0.7785 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.8899, allocations: 26.89 kB / 0.7785 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.8902, allocations: 272.8 kB / 0.7788 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.8902, allocations: 25.88 kB / 0.7788 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.8902, allocations: 8.062 kB / 0.7788 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.8903, allocations: 307.4 kB / 0.7791 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.8904, allocations: 47.66 kB / 0.7791 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.8906, allocations: 50.16 kB / 0.7792 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.8907, allocations: 81.38 kB / 0.7793 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-06/0.8907, allocations: 0 / 0.7793 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004546/0.8912, allocations: 239 kB / 0.7795 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.8912, allocations: 35.55 kB / 0.7795 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.8913, allocations: 3.688 kB / 0.7795 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8913, allocations: 0.6562 kB / 0.7795 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.8914, allocations: 10.94 kB / 0.7795 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.656e-06/0.8914, allocations: 0.6562 kB / 0.7795 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.8916, allocations: 14.88 kB / 0.7796 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.8917, allocations: 5.844 kB / 0.7796 GB, free: 135.1 MB / 0.6511 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001019/0.8918, allocations: 157 kB / 0.7797 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.8919, allocations: 60.12 kB / 0.7798 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/0.8925, allocations: 266.2 kB / 0.78 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.911e-06/0.8925, allocations: 3.25 kB / 0.78 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.811e-06/0.8926, allocations: 3.031 kB / 0.78 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.523e-06/0.8926, allocations: 1.875 kB / 0.78 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.8931, allocations: 370.6 kB / 0.7804 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-06/0.8932, allocations: 1.875 kB / 0.7804 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/0.8932, allocations: 4.75 kB / 0.7804 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-06/0.8933, allocations: 1.609 kB / 0.7804 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.8933, allocations: 3.75 kB / 0.7804 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.933e-06/0.8933, allocations: 3.031 kB / 0.7804 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.964e-06/0.8933, allocations: 4.75 kB / 0.7804 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.8938, allocations: 285.8 kB / 0.7807 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.894, allocations: 145.4 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.8941, allocations: 2.844 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.8943, allocations: 10.19 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.8943, allocations: 5.578 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.8944, allocations: 7.125 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008804/0.8953, allocations: 0.554 MB / 0.7814 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.18e-07/0.8953, allocations: 0 / 0.7814 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007098/0.896, allocations: 152.1 kB / 0.7815 GB, free: 134.3 MB / 0.6511 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0008417/0.8969, allocations: 354.9 kB / 0.7819 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004751/0.8974, allocations: 204.8 kB / 0.7821 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.8974, allocations: 0 / 0.7821 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.8977, allocations: 140.6 kB / 0.7822 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/0.8985, allocations: 106.8 kB / 0.7823 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.9001, allocations: 0.7795 MB / 0.7831 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.9007, allocations: 0.9726 MB / 0.784 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.9009, allocations: 23.91 kB / 0.784 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.9009, allocations: 17.34 kB / 0.784 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.858e-06/0.9009, allocations: 0 / 0.784 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.01891/0.9199, allocations: 6.336 MB / 0.7902 GB, free: 132.8 MB / 0.6511 GB