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 1.72/1.72, allocations: 288.2 MB / 303.2 MB, free: 8.047 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.001214/0.001214, allocations: 186 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008837/0.0008838, allocations: 94.8 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004437, allocations: 11.22 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001955/0.2626, allocations: 1.238 MB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2638, allocations: 0.5904 MB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.2639, allocations: 0 / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.2641, allocations: 7.922 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.2641, allocations: 15.97 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.2646, allocations: 67.8 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.2647, allocations: 59.84 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2648, allocations: 20.22 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.265, allocations: 39.89 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.394e-05/0.2651, allocations: 35.83 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2651, allocations: 4 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2653, allocations: 51.91 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.2653, allocations: 15.97 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.2654, allocations: 37.64 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.2656, allocations: 92.05 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2656, allocations: 4 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2656, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.2656, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 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.0008218/0.2664, allocations: 440.7 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2665, allocations: 20.02 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.2665, allocations: 38.55 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.2666, allocations: 11.84 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.2668, allocations: 200 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2668, allocations: 0 / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.2668, allocations: 8 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.2671, allocations: 113.5 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2672, allocations: 4 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.2672, allocations: 0 / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.2672, allocations: 8 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.2675, allocations: 103.9 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.2682, allocations: 364.6 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.2685, allocations: 102.5 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.2685, allocations: 0 / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/0.2689, allocations: 127.3 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.2689, allocations: 0 / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0007097/0.2696, allocations: 322.5 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2697, allocations: 59.41 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2698, allocations: 139.9 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.2698, allocations: 25.7 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.2699, allocations: 104 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2699, allocations: 23.77 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.27, allocations: 8 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.27, allocations: 322.8 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.2702, allocations: 59.95 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.2704, allocations: 71.95 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.2706, allocations: 93.7 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2706, allocations: 0 / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004214/0.271, allocations: 219.1 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.2711, allocations: 37.66 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2711, allocations: 0 / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2711, allocations: 4.469 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2713, allocations: 27.97 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2713, allocations: 0 / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2714, allocations: 27.81 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.2715, allocations: 4 kB / 0.9846 GB, free: 22.03 MB / 0.6198 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 0.0001042/0.2716, allocations: 133.8 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.2716, allocations: 11.84 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.2716, allocations: 12.67 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.2717, allocations: 7.984 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2717, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2717, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.2718, allocations: 189.6 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2718, allocations: 0 / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.272, allocations: 27.97 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.272, allocations: 0 / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.272, allocations: 4 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.272, allocations: 11.89 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.272, allocations: 0 / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.2724, allocations: 204.8 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.2724, allocations: 85.02 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.2725, allocations: 3.984 kB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2726, allocations: 19.98 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.2727, allocations: 23.92 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2727, allocations: 0 / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.2727, allocations: 105.5 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2728, allocations: 0 / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002516/0.273, allocations: 43.94 kB / 0.9855 GB, free: 21.07 MB / 0.6198 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.0007453/0.2738, allocations: 0.7529 MB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.2743, allocations: 211.2 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2743, allocations: 0 / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.2745, allocations: 72.19 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.2747, allocations: 7.953 kB / 0.9865 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.2761, allocations: 0.8178 MB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.2763, allocations: 0.7004 MB / 0.988 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.994e-05/0.2764, allocations: 11.98 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.2765, allocations: 31.42 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of SimCode: time 1.352e-06/0.2765, allocations: 0 / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.2904, allocations: 2.418 MB / 0.9904 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.2906, allocations: 188.5 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.02, allocations: 8.641 kB / 0.9906 GB, free: 15.84 MB / 0.6198 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)