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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01091/0.01091, allocations: 106.9 kB / 15.06 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001243/0.001243, allocations: 183 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.372/2.372, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.316/2.316, allocations: 236.1 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004855, allocations: 12 kB / 0.587 GB, free: 2.117 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.67, allocations: 98.72 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002068/0.6721, allocations: 1.234 MB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.6732, allocations: 478.2 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.6733, allocations: 3.938 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.6734, allocations: 11.58 kB / 0.6851 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.6735, allocations: 17.86 kB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.6738, allocations: 31.78 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.674, allocations: 67.86 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.6741, allocations: 16.2 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.6743, allocations: 50.88 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.6744, allocations: 43.52 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.6744, allocations: 4.344 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.525e-05/0.6745, allocations: 3.438 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.6745, allocations: 19.98 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.6746, allocations: 37.86 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.6748, allocations: 63.5 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6748, allocations: 0 / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6748, allocations: 4.594 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.6748, allocations: 1.219 kB / 0.6854 GB, free: 15.34 MB / 0.5261 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.0009889/0.6758, allocations: 483.9 kB / 0.6859 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.6759, allocations: 10.41 kB / 0.6859 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.6759, allocations: 35.12 kB / 0.6859 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.676, allocations: 14.27 kB / 0.686 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.6762, allocations: 192.4 kB / 0.6861 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.6762, allocations: 3.625 kB / 0.6862 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.6763, allocations: 5.281 kB / 0.6862 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.6768, allocations: 145.2 kB / 0.6863 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6768, allocations: 0 / 0.6863 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.6769, allocations: 3.25 kB / 0.6863 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.6769, allocations: 5.047 kB / 0.6863 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.6776, allocations: 129 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.6785, allocations: 364.4 kB / 0.6868 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.6791, allocations: 146.5 kB / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.6792, allocations: 5.422 kB / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005634/0.6798, allocations: 148.8 kB / 0.6871 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.196e-06/0.6798, allocations: 4 kB / 0.6871 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.001453/0.6812, allocations: 427.2 kB / 0.6875 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.6814, allocations: 87.28 kB / 0.6876 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.6815, allocations: 140.8 kB / 0.6877 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.6816, allocations: 28.3 kB / 0.6877 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.6817, allocations: 98.58 kB / 0.6878 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.6817, allocations: 31.84 kB / 0.6878 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.6817, allocations: 5.031 kB / 0.6878 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.6818, allocations: 321.2 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.6822, allocations: 86.39 kB / 0.6882 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.6826, allocations: 93.78 kB / 0.6883 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.6831, allocations: 147.6 kB / 0.6885 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6831, allocations: 0 / 0.6885 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000959/0.6841, allocations: 303.5 kB / 0.6888 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.881e-05/0.6842, allocations: 76.42 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6842, allocations: 480 / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.6842, allocations: 1.344 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.6845, allocations: 22.08 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6845, allocations: 1.891 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.6849, allocations: 39.48 kB / 0.6889 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.6849, allocations: 13.97 kB / 0.6889 GB, free: 12.84 MB / 0.5261 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 () * Number of clocked 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.0001698/0.6851, allocations: 158.7 kB / 0.6891 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.6851, allocations: 15.06 kB / 0.6891 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.6852, allocations: 19.67 kB / 0.6891 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6852, allocations: 1.375 kB / 0.6891 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6852, allocations: 0.9844 kB / 0.6891 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6852, allocations: 0 / 0.6891 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.6855, allocations: 203.7 kB / 0.6893 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.6855, allocations: 6.234 kB / 0.6893 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.6857, allocations: 20.86 kB / 0.6893 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6857, allocations: 3.953 kB / 0.6893 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.6858, allocations: 4.094 kB / 0.6893 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6858, allocations: 1.531 kB / 0.6893 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6858, allocations: 0 / 0.6893 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/0.6868, allocations: 316.8 kB / 0.6896 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.6869, allocations: 83.95 kB / 0.6897 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.6869, allocations: 11.83 kB / 0.6897 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.6872, allocations: 31.03 kB / 0.6897 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.6874, allocations: 21.36 kB / 0.6898 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.6874, allocations: 5.281 kB / 0.6898 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.435e-05/0.6875, allocations: 111.8 kB / 0.6899 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6875, allocations: 0 / 0.6899 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003087/0.6879, allocations: 28.06 kB / 0.6899 GB, free: 12.09 MB / 0.5261 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) * Number of clocked states: 0 () * 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.001213/0.6891, allocations: 0.8419 MB / 0.6907 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.6902, allocations: 362.4 kB / 0.6911 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6902, allocations: 1.125 kB / 0.6911 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.6907, allocations: 202.7 kB / 0.6913 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.691, allocations: 13.14 kB / 0.6913 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.6938, allocations: 0.9923 MB / 0.6922 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.694, allocations: 0.7106 MB / 0.6929 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.6942, allocations: 14.84 kB / 0.6929 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.6943, allocations: 30.12 kB / 0.693 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/0.6943, allocations: 1.094 kB / 0.693 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.7169, allocations: 2.647 MB / 0.6956 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/0.7173, allocations: 182.3 kB / 0.6957 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.167, allocations: 1.344 kB / 0.6957 GB, free: 9.336 MB / 0.5261 GB