Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.097/4.097, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.971e-05, allocations: 4.125 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2187, allocations: 98.74 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/0.4564, allocations: 125.7 MB / 0.7575 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.4568, allocations: 67.97 kB / 0.7575 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009709/0.4666, allocations: 1.866 MB / 0.7594 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4666, allocations: 0 / 0.7594 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.4666, allocations: 0 / 0.7594 GB, free: 2.094 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009162/0.4676, allocations: 469.6 kB / 0.7598 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.4676, allocations: 8.031 kB / 0.7598 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.4677, allocations: 38.56 kB / 0.7598 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.4678, allocations: 15.86 kB / 0.7599 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.4681, allocations: 198.9 kB / 0.7601 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4681, allocations: 4 kB / 0.7601 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.4682, allocations: 8 kB / 0.7601 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.4685, allocations: 107.5 kB / 0.7602 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4685, allocations: 0 / 0.7602 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.4685, allocations: 0 / 0.7602 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4686, allocations: 7.953 kB / 0.7602 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.4688, allocations: 63.97 kB / 0.7602 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.4697, allocations: 360.7 kB / 0.7606 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.47, allocations: 94.48 kB / 0.7607 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.4702, allocations: 76.84 kB / 0.7607 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4702, allocations: 3.953 kB / 0.7607 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.4705, allocations: 115.3 kB / 0.7609 GB, free: 380 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.996e-06/0.4705, allocations: 0 / 0.7609 GB, free: 380 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005168/0.471, allocations: 187.2 kB / 0.761 GB, free: 180 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.4711, allocations: 89.09 kB / 0.7611 GB, free: 72 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4713, allocations: 132.4 kB / 0.7612 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.4714, allocations: 29.7 kB / 0.7613 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.4715, allocations: 108 kB / 0.7614 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.4715, allocations: 31.55 kB / 0.7614 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.4715, allocations: 4 kB / 0.7614 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4717, allocations: 322.8 kB / 0.7617 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.4718, allocations: 55.97 kB / 0.7618 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.472, allocations: 55.92 kB / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.4722, allocations: 115.4 kB / 0.7619 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4723, allocations: 0 / 0.7619 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005383/0.4728, allocations: 237 kB / 0.7622 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.058e-05/0.4729, allocations: 73.27 kB / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4729, allocations: 0 / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.473, allocations: 4 kB / 0.7622 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.4732, allocations: 23.97 kB / 0.7623 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4733, allocations: 0 / 0.7623 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.4736, allocations: 43.86 kB / 0.7623 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.4737, allocations: 7.938 kB / 0.7623 GB, free: 14.79 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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001574/0.4738, allocations: 154.6 kB / 0.7625 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.4739, allocations: 11.86 kB / 0.7625 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.474, allocations: 16.62 kB / 0.7625 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.474, allocations: 3.984 kB / 0.7625 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.474, allocations: 0 / 0.7625 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.474, allocations: 0 / 0.7625 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.4742, allocations: 201.6 kB / 0.7627 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4743, allocations: 0 / 0.7627 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.4745, allocations: 23.98 kB / 0.7627 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4745, allocations: 3.953 kB / 0.7627 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.4745, allocations: 4 kB / 0.7627 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4746, allocations: 0 / 0.7627 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4746, allocations: 3.984 kB / 0.7627 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.4751, allocations: 246.6 kB / 0.763 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.4752, allocations: 92.92 kB / 0.763 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.4753, allocations: 11.95 kB / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.4756, allocations: 31.95 kB / 0.7631 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.4758, allocations: 23.97 kB / 0.7631 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.4758, allocations: 4 kB / 0.7631 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001045/0.4759, allocations: 109.2 kB / 0.7632 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.8e-07/0.4759, allocations: 0 / 0.7632 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002987/0.4762, allocations: 24 kB / 0.7632 GB, free: 13.74 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0008946/0.4771, allocations: 0.7897 MB / 0.764 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005804/0.4777, allocations: 290.7 kB / 0.7643 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4778, allocations: 0 / 0.7643 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.4781, allocations: 167.4 kB / 0.7644 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.4783, allocations: 15.94 kB / 0.7645 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008826/0.4792, allocations: 255.3 kB / 0.7647 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.4795, allocations: 0.7043 MB / 0.7654 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.4797, allocations: 15.98 kB / 0.7654 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.4798, allocations: 27.42 kB / 0.7654 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/0.4798, allocations: 0 / 0.7654 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.5049, allocations: 2.652 MB / 0.768 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003284/0.5053, allocations: 151.2 kB / 0.7682 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.126, allocations: 0 / 0.7682 GB, free: 8.551 MB / 0.6511 GB