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.386/1.386, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009955/0.0009955, allocations: 183.4 kB / 316.3 MB, free: 3.242 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.397/1.397, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.000815/0.000815, allocations: 92.62 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.623e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.174, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6727/0.8468, allocations: 133.6 MB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.8471, allocations: 73.89 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009878/0.8569, allocations: 3.471 MB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.212e-06/0.857, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.857, allocations: 0 / 1.019 GB, free: 0.8789 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005686/0.8576, allocations: 442.7 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.8576, allocations: 12.03 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.8577, allocations: 7.906 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.8579, allocations: 201.5 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8579, allocations: 0 / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.8579, allocations: 7.984 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.858, allocations: 38.19 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.8582, allocations: 80.83 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.8582, allocations: 0 / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.8582, allocations: 4 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8582, allocations: 3.984 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.8588, allocations: 346 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.859, allocations: 53.06 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.859, allocations: 35.61 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.8591, allocations: 3.984 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.8592, allocations: 86.81 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.8592, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002629/0.8595, allocations: 119.6 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.8595, allocations: 51.41 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.8596, allocations: 126.1 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.8597, allocations: 25.7 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.8597, allocations: 106.7 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.8598, allocations: 18.97 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/0.8598, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8599, allocations: 322.2 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.86, allocations: 34.86 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.86, allocations: 30.38 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.987e-05/0.8601, allocations: 34.47 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8601, allocations: 8 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002013/0.8603, allocations: 119.2 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.8604, allocations: 37.69 kB / 1.021 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.8604, allocations: 3.953 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.8604, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.8606, allocations: 23.61 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.8606, allocations: 3.938 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.8607, allocations: 31.91 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.8608, allocations: 4 kB / 1.022 GB, free: 14.5 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: 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 7.677e-05/0.8609, allocations: 101 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001799/0.861, allocations: 110.5 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.8611, allocations: 11.86 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.8613, allocations: 117.4 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.8613, allocations: 4 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8613, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.8613, allocations: 4 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.8615, allocations: 175.4 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8615, allocations: 4.188 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.8616, allocations: 23.92 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8617, allocations: 3.938 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8617, allocations: 3.953 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.8617, allocations: 3.984 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8617, allocations: 3.938 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.8619, allocations: 129 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.862, allocations: 89 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.862, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.8621, allocations: 19.94 kB / 1.022 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.8622, allocations: 18.78 kB / 1.022 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8622, allocations: 7.938 kB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.808e-05/0.8623, allocations: 105.5 kB / 1.022 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8623, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002413/0.8626, allocations: 39.94 kB / 1.022 GB, free: 13.53 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: 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.0005146/0.8631, allocations: 0.6818 MB / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.8633, allocations: 171.4 kB / 1.023 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8633, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.8634, allocations: 71.62 kB / 1.023 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.8636, allocations: 17.36 kB / 1.023 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.8641, allocations: 181.8 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.8644, allocations: 0.7059 MB / 1.024 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.143e-05/0.8645, allocations: 19.97 kB / 1.024 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.8646, allocations: 30.55 kB / 1.024 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.8646, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.8855, allocations: 2.097 MB / 1.026 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/0.8858, allocations: 144.3 kB / 1.026 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.327, allocations: 4 kB / 1.026 GB, free: 9.359 MB / 0.6511 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)