Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 187.4 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.822/2.822, allocations: 205.4 MB / 0.5766 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.001201, allocations: 95.11 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004555, allocations: 15.69 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002594/0.2733, allocations: 1.246 MB / 0.9001 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2747, allocations: 0.4969 MB / 0.9006 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.2749, allocations: 4 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.275, allocations: 7.938 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.2751, allocations: 23.89 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.2755, allocations: 23.97 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.2757, allocations: 71.84 kB / 0.9007 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2759, allocations: 20.2 kB / 0.9007 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.2761, allocations: 39.91 kB / 0.9008 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.2762, allocations: 51.75 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.2763, allocations: 4 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-05/0.2763, allocations: 4 kB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.2764, allocations: 11.92 kB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.2765, allocations: 41.64 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.2766, allocations: 67.86 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2767, allocations: 0 / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2767, allocations: 4 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2767, allocations: 0 / 0.9009 GB, free: 63.84 MB / 0.6042 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.001228/0.2779, allocations: 470.4 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.278, allocations: 8.031 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.2781, allocations: 27.77 kB / 0.9014 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.2784, allocations: 192.1 kB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.2784, allocations: 0 / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.2785, allocations: 8 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.2792, allocations: 133.6 kB / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2793, allocations: 0 / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.2793, allocations: 11.94 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2793, allocations: 7.953 kB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008962/0.2802, allocations: 127.9 kB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2814, allocations: 364.5 kB / 0.9022 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/0.2822, allocations: 146.5 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2823, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.283, allocations: 155.4 kB / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.547e-06/0.283, allocations: 0 / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.00184/0.2849, allocations: 428.1 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.285, allocations: 93.09 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.2852, allocations: 140.3 kB / 0.9031 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.2853, allocations: 29.7 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.2854, allocations: 96.12 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.2855, allocations: 35.55 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.2855, allocations: 0 / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.2856, allocations: 322.8 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.2861, allocations: 91.94 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.2867, allocations: 87.94 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.2873, allocations: 151.5 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2873, allocations: 0 / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001293/0.2886, allocations: 306.4 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.643e-05/0.2887, allocations: 71.39 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2888, allocations: 0 / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2888, allocations: 0 / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.2891, allocations: 27.97 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.2892, allocations: 480 / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.2896, allocations: 35.88 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.2897, allocations: 7.984 kB / 0.9043 GB, free: 60.05 MB / 0.6042 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.0002152/0.2899, allocations: 163.5 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.29, allocations: 15.86 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.2901, allocations: 16.72 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.2901, allocations: 0 / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2901, allocations: 0 / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2901, allocations: 3.984 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.2904, allocations: 205.5 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2904, allocations: 3.938 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.2907, allocations: 31.91 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.2907, allocations: 3.953 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.2908, allocations: 0 / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.2908, allocations: 4 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2908, allocations: 0 / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.2921, allocations: 310.4 kB / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.2923, allocations: 85.02 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.2923, allocations: 11.94 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.2928, allocations: 31.97 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.293, allocations: 23.95 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.293, allocations: 8 kB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001138/0.2931, allocations: 103.3 kB / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2932, allocations: 0 / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005081/0.2937, allocations: 24 kB / 0.9053 GB, free: 58.92 MB / 0.6042 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.0001684/0.2939, allocations: 99.23 kB / 0.9054 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.2952, allocations: 358.6 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.2952, allocations: 4 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.2959, allocations: 191.3 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2963, allocations: 18.73 kB / 0.906 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2974, allocations: 327.4 kB / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.2977, allocations: 0.7159 MB / 0.907 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.2979, allocations: 15.98 kB / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.298, allocations: 15.44 kB / 0.907 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/0.298, allocations: 0 / 0.907 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.007634/0.3056, allocations: 1.465 MB / 0.9085 GB, free: 55.64 MB / 0.6042 GB