Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001073/0.001073, allocations: 182.3 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.00101/0.00101, allocations: 94.31 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 9.438 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.3751, allocations: 133.3 MB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3753, allocations: 79.95 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.3861, allocations: 3.5 MB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.398e-06/0.3861, allocations: 4 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3861, allocations: 0 / 1.034 GB, free: 6.707 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007658/0.3869, allocations: 461 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.387, allocations: 12.03 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.387, allocations: 42.55 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.3871, allocations: 11.81 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3874, allocations: 200.6 kB / 1.035 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3874, allocations: 3.938 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3874, allocations: 4 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.3877, allocations: 113.6 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3878, allocations: 0 / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3878, allocations: 7.938 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3878, allocations: 0 / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.3881, allocations: 107.9 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.3889, allocations: 372.6 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.3893, allocations: 110.5 kB / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.3893, allocations: 0 / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.3896, allocations: 131.3 kB / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.3896, allocations: 0 / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0007922/0.3904, allocations: 306.6 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3905, allocations: 55.41 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3906, allocations: 135.2 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.3907, allocations: 29.7 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.3907, allocations: 96.14 kB / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.3908, allocations: 31.55 kB / 1.036 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.3908, allocations: 4 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3909, allocations: 320.7 kB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3912, allocations: 63.95 kB / 1.036 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3913, allocations: 67.95 kB / 1.036 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3916, allocations: 89.66 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3916, allocations: 384 / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004768/0.3921, allocations: 219.2 kB / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.3921, allocations: 41.64 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3921, allocations: 96 / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3922, allocations: 7.938 kB / 1.037 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3923, allocations: 23.97 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3923, allocations: 0 / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.3925, allocations: 19.98 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.3925, allocations: 4.078 kB / 1.037 GB, free: 3.418 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: 1 * Record equations: 1 * 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.0001115/0.3926, allocations: 125.8 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.3927, allocations: 15.77 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.3932, allocations: 194.2 kB / 1.037 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3932, allocations: 0 / 1.037 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3932, allocations: 0 / 1.037 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3932, allocations: 0 / 1.037 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.3934, allocations: 205.5 kB / 1.037 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3934, allocations: 4 kB / 1.037 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.3936, allocations: 27.97 kB / 1.037 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3936, allocations: 0 / 1.037 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3936, allocations: 7.953 kB / 1.037 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3936, allocations: 0 / 1.037 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3936, allocations: 0 / 1.037 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.3941, allocations: 200.8 kB / 1.038 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.3941, allocations: 85.02 kB / 1.038 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3942, allocations: 4 kB / 1.038 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3943, allocations: 31.92 kB / 1.038 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.3944, allocations: 11.98 kB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3944, allocations: 7.984 kB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.3945, allocations: 103.3 kB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3945, allocations: 0 / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002772/0.3948, allocations: 39.91 kB / 1.038 GB, free: 2.277 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: 0 * Record equations: 1 * 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.001022/0.3958, allocations: 0.7645 MB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.3964, allocations: 229 kB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3964, allocations: 4 kB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.3967, allocations: 101.6 kB / 1.039 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3969, allocations: 8.062 kB / 1.039 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.3987, allocations: 0.8355 MB / 1.04 GB, free: 232 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.3991, allocations: 0.7032 MB / 1.04 GB, free: 15.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.512e-05/0.3992, allocations: 7.984 kB / 1.04 GB, free: 15.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.3992, allocations: 27.42 kB / 1.04 GB, free: 15.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.3992, allocations: 4 kB / 1.04 GB, free: 15.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.4131, allocations: 2.427 MB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.4133, allocations: 200.2 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.005, allocations: 3.938 kB / 1.043 GB, free: 12.93 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)