Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 2.468/2.468, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001494, allocations: 184.8 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 94.61 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.311e-05, allocations: 0 / 0.8518 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.034, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2342/1.268, allocations: 138.9 MB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.268, allocations: 74.61 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01096/1.279, allocations: 3.466 MB / 1.104 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/1.279, allocations: 0 / 1.104 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.867e-05/1.279, allocations: 4 kB / 1.104 GB, free: 13.39 MB / 0.7136 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.0007803/1.28, allocations: 443.9 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.28, allocations: 8.031 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.286e-05/1.28, allocations: 17.92 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/1.281, allocations: 190.8 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.281, allocations: 4 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/1.281, allocations: 11.98 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001402/1.281, allocations: 36 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/1.281, allocations: 73.66 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.281, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/1.281, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.281, allocations: 3.938 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/1.282, allocations: 345.2 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/1.282, allocations: 58.55 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/1.282, allocations: 32.92 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/1.282, allocations: 3.984 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/1.282, allocations: 91.31 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.484e-06/1.282, allocations: 0 / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004268/1.283, allocations: 106.8 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/1.283, allocations: 55.41 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.283, allocations: 123.1 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/1.283, allocations: 29.7 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/1.283, allocations: 104.1 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/1.283, allocations: 27.56 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/1.283, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.283, allocations: 318.8 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.978e-05/1.284, allocations: 32.09 kB / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/1.284, allocations: 31.94 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/1.284, allocations: 39.97 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.284, allocations: 1.594 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002888/1.284, allocations: 109.7 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/1.284, allocations: 37.69 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.284, allocations: 0 / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/1.284, allocations: 7.953 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/1.284, allocations: 27.92 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.284, allocations: 0 / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/1.285, allocations: 23.91 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/1.285, allocations: 8 kB / 1.106 GB, free: 10.82 MB / 0.7136 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 0.0001175/1.285, allocations: 109 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000246/1.285, allocations: 115 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/1.285, allocations: 11.86 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/1.285, allocations: 118.3 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.285, allocations: 3.938 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.285, allocations: 0 / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/1.285, allocations: 0 / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/1.286, allocations: 174.2 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/1.286, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/1.286, allocations: 27.92 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.286, allocations: 0.6875 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.286, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.286, allocations: 9.172 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.286, allocations: 3.984 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/1.286, allocations: 125 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/1.286, allocations: 92.91 kB / 1.107 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/1.286, allocations: 6.938 kB / 1.107 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/1.286, allocations: 19.98 kB / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/1.286, allocations: 26.86 kB / 1.107 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/1.286, allocations: 4 kB / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.132e-05/1.286, allocations: 101.2 kB / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.286, allocations: 0 / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002975/1.287, allocations: 43.94 kB / 1.107 GB, free: 9.766 MB / 0.7136 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.0007009/1.287, allocations: 0.6941 MB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002912/1.288, allocations: 161.1 kB / 1.108 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.288, allocations: 0 / 1.108 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/1.288, allocations: 73.62 kB / 1.108 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/1.288, allocations: 15.94 kB / 1.108 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/1.289, allocations: 176.9 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/1.289, allocations: 0.7087 MB / 1.109 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.804e-05/1.289, allocations: 11.98 kB / 1.109 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/1.289, allocations: 33.61 kB / 1.109 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of SimCode: time 3.8e-07/1.289, allocations: 0 / 1.109 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/1.317, allocations: 2.106 MB / 1.111 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/1.318, allocations: 151.7 kB / 1.111 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.489, allocations: 0 / 1.111 GB, free: 5.543 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)