Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.129/2.129, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 174.9 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.43/2.43, allocations: 205.4 MB / 0.5764 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 96.36 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004751, allocations: 11.34 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2022, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.4358, allocations: 132.9 MB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.4361, allocations: 75.95 kB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009194/0.4453, allocations: 1.909 MB / 1.031 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4454, allocations: 7.938 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.4454, allocations: 4 kB / 1.031 GB, free: 10.86 MB / 0.6823 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.0009334/0.4463, allocations: 482.2 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.4464, allocations: 12.03 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.4465, allocations: 34.56 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.4466, allocations: 23.77 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.4468, allocations: 195 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4469, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.4469, allocations: 7.938 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.4475, allocations: 133.6 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.4475, allocations: 4 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.4475, allocations: 8 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4475, allocations: 7.953 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.4482, allocations: 123.9 kB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.4491, allocations: 368.5 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.4498, allocations: 138.5 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.4498, allocations: 7.984 kB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.4503, allocations: 155.3 kB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 3.176e-06/0.4504, allocations: 0 / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001458/0.4518, allocations: 420.1 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.4519, allocations: 90.16 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.4521, allocations: 130.5 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.4522, allocations: 29.7 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.4523, allocations: 100.1 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.4523, allocations: 35.55 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.4523, allocations: 0 / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4525, allocations: 327.1 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.4529, allocations: 83.94 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.4534, allocations: 95.88 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.4538, allocations: 140.6 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4538, allocations: 0 / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001138/0.455, allocations: 300.7 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/0.4551, allocations: 71.39 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4551, allocations: 3.938 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4551, allocations: 0 / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.4554, allocations: 27.98 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.4554, allocations: 0 / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.4558, allocations: 39.89 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.4558, allocations: 4 kB / 1.034 GB, free: 7.031 MB / 0.6823 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.0002208/0.4561, allocations: 167.5 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.4561, allocations: 11.86 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.4562, allocations: 12.72 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4562, allocations: 0 / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4562, allocations: 0 / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4562, allocations: 4 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.4565, allocations: 205.4 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4565, allocations: 0 / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.4567, allocations: 27.97 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.4567, allocations: 0 / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.4568, allocations: 11.95 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4568, allocations: 3.938 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4568, allocations: 0 / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4579, allocations: 298.6 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.458, allocations: 89.02 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.458, allocations: 7.984 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.4584, allocations: 35.92 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.4585, allocations: 23.95 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.4586, allocations: 4 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001167/0.4587, allocations: 115.2 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4587, allocations: 192 / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000312/0.459, allocations: 28.12 kB / 1.035 GB, free: 5.902 MB / 0.6823 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.001451/0.4605, allocations: 0.8521 MB / 1.036 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.4616, allocations: 350.7 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4616, allocations: 3.938 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.4622, allocations: 203.2 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.4625, allocations: 7.953 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.4654, allocations: 0.9926 MB / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.4658, allocations: 0.7082 MB / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.4659, allocations: 15.98 kB / 1.038 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-05/0.466, allocations: 27.42 kB / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/0.466, allocations: 0 / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.4899, allocations: 2.644 MB / 1.041 GB, free: 84 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/0.4903, allocations: 184.2 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.373, allocations: 0 / 1.041 GB, free: 15.84 MB / 0.698 GB