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.404/1.404, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001002/0.001002, allocations: 175.4 kB / 326.5 MB, free: 2.246 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.583/1.583, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009491/0.0009492, allocations: 94.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004473, allocations: 9.188 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001843/0.2626, allocations: 1.246 MB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008703/0.2635, allocations: 0.5939 MB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.2635, allocations: 0 / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2637, allocations: 7.922 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.2637, allocations: 23.97 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.2641, allocations: 67.78 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.2642, allocations: 59.84 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2644, allocations: 16.22 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2645, allocations: 39.89 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.2646, allocations: 35.84 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2646, allocations: 8 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.2647, allocations: 55.83 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.2648, allocations: 11.98 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.2648, allocations: 37.64 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.265, allocations: 87.83 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.265, allocations: 0 / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.726e-06/0.265, allocations: 0 / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.265, allocations: 0 / 0.9024 GB, free: 61.57 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008015/0.2658, allocations: 449 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2659, allocations: 12.03 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.2659, allocations: 34.55 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.266, allocations: 15.77 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.2661, allocations: 186.9 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2662, allocations: 7.938 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.2662, allocations: 11.98 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.2665, allocations: 105.6 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2665, allocations: 0 / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2666, allocations: 4 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.2666, allocations: 7.984 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.2669, allocations: 115.8 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.2675, allocations: 360.6 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.2679, allocations: 106.5 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2679, allocations: 7.984 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.2682, allocations: 127.3 kB / 0.9038 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.2682, allocations: 0 / 0.9038 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006289/0.2689, allocations: 314.5 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2689, allocations: 55.41 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.269, allocations: 145 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.269, allocations: 25.7 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.2691, allocations: 100.1 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2691, allocations: 35.61 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.2691, allocations: 0 / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.2692, allocations: 322.8 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.2694, allocations: 67.95 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.2695, allocations: 63.95 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.2697, allocations: 93.66 kB / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2698, allocations: 0 / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004103/0.2702, allocations: 231.5 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.2702, allocations: 32.05 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2702, allocations: 0 / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2702, allocations: 4.094 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.2704, allocations: 27.91 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2704, allocations: 8 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2706, allocations: 19.98 kB / 0.9053 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2706, allocations: 4 kB / 0.9053 GB, free: 58.27 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: 1 * Algorithm blocks: 1 * 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 8.02e-05/0.2707, allocations: 121.8 kB / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.2707, allocations: 15.77 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.2707, allocations: 8.719 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2707, allocations: 7.938 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2708, allocations: 4 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2708, allocations: 7.984 kB / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.2709, allocations: 193.6 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2709, allocations: 0 / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.271, allocations: 23.97 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.271, allocations: 0 / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.2711, allocations: 7.953 kB / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2711, allocations: 0 / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2711, allocations: 4 kB / 0.9057 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.2715, allocations: 200.9 kB / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.2715, allocations: 85.02 kB / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.2716, allocations: 4 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.2717, allocations: 27.92 kB / 0.906 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.2718, allocations: 7.984 kB / 0.906 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2718, allocations: 3.984 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000103/0.2719, allocations: 111.3 kB / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2719, allocations: 0 / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002533/0.2722, allocations: 32 kB / 0.9062 GB, free: 57.32 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: 1 * Algorithm blocks: 0 * 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.000656/0.2728, allocations: 0.7579 MB / 0.9069 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.2733, allocations: 207.2 kB / 0.9071 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2733, allocations: 0 / 0.9071 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.2735, allocations: 75.95 kB / 0.9072 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.2736, allocations: 18.34 kB / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.275, allocations: 0.8103 MB / 0.908 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2752, allocations: 0.7083 MB / 0.9087 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.189e-05/0.2753, allocations: 11.98 kB / 0.9087 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.2753, allocations: 31.42 kB / 0.9087 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2754, allocations: 0 / 0.9087 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.2881, allocations: 2.404 MB / 0.9111 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.2883, allocations: 187.5 kB / 0.9112 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.92, allocations: 7.938 kB / 0.9112 GB, free: 52.1 MB / 0.6042 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)