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.42/1.42, allocations: 252 MB / 267.3 MB, free: 10.8 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.001129/0.001129, allocations: 173.2 kB / 327 MB, free: 2.082 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.992/1.992, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0009284/0.0009287, allocations: 83.73 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003572, allocations: 10.84 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.275, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001868/0.2769, allocations: 1.269 MB / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2781, allocations: 0.6395 MB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.2782, allocations: 0 / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.2784, allocations: 11.92 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.2784, allocations: 7.875 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.2789, allocations: 71.86 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.279, allocations: 95.64 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2792, allocations: 24.2 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2794, allocations: 31.91 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2795, allocations: 47.7 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.2795, allocations: 4 kB / 0.9031 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.2796, allocations: 51.95 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.2797, allocations: 19.92 kB / 0.9031 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.2798, allocations: 65.48 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.2801, allocations: 135.5 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2801, allocations: 0 / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2801, allocations: 0 / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2801, allocations: 0 / 0.9033 GB, free: 60.89 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.0008842/0.281, allocations: 445.2 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.2811, allocations: 8.031 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.2811, allocations: 42.73 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.2812, allocations: 12.75 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.2814, allocations: 189.2 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2814, allocations: 4.375 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2814, allocations: 8.375 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.2818, allocations: 113.7 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2819, allocations: 3.984 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.2819, allocations: 4 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.2819, allocations: 8 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.2823, allocations: 107.9 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007427/0.283, allocations: 368.5 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.2833, allocations: 102.5 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.2835, allocations: 68.88 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2836, allocations: 0 / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.2839, allocations: 127.3 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.2839, allocations: 0 / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006297/0.2846, allocations: 241.4 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.2846, allocations: 55.41 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.2847, allocations: 135.7 kB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2847, allocations: 29.7 kB / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.2848, allocations: 104 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2848, allocations: 31.7 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.2848, allocations: 3.938 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.2849, allocations: 330.8 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2851, allocations: 63.95 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.2853, allocations: 72.23 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.2856, allocations: 166.6 kB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2856, allocations: 3.938 kB / 0.906 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004239/0.286, allocations: 223.1 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.2861, allocations: 37.69 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2861, allocations: 0 / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2861, allocations: 0 / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.2863, allocations: 19.98 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2863, allocations: 4 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2864, allocations: 23.97 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.2864, allocations: 7.938 kB / 0.9063 GB, free: 57.54 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.2865, allocations: 117.8 kB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.2866, allocations: 7.906 kB / 0.9065 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.2866, allocations: 16.7 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.2866, allocations: 4 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2866, allocations: 3.984 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2867, allocations: 0 / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.2868, allocations: 209.4 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2868, allocations: 0 / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.287, allocations: 23.92 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.287, allocations: 0 / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.287, allocations: 11.97 kB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.287, allocations: 0 / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.287, allocations: 0 / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.2874, allocations: 200.9 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.2875, allocations: 89.02 kB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.2875, allocations: 3.938 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.2877, allocations: 19.98 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.2877, allocations: 15.97 kB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2877, allocations: 0 / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.2878, allocations: 113.6 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2878, allocations: 0 / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000237/0.2881, allocations: 43.98 kB / 0.9072 GB, free: 56.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000644/0.2887, allocations: 0.7568 MB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.2891, allocations: 203.2 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2891, allocations: 0 / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.2893, allocations: 79.89 kB / 0.9082 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2896, allocations: 11.94 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.2916, allocations: 1.774 MB / 0.9099 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2917, allocations: 0.7036 MB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.043e-05/0.2918, allocations: 15.97 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.2919, allocations: 23.44 kB / 0.9107 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2919, allocations: 3.938 kB / 0.9107 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.3055, allocations: 2.43 MB / 0.913 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.3058, allocations: 214 kB / 0.9132 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.227, allocations: 2.875 kB / 0.9132 GB, free: 50.33 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)