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.67/1.67, allocations: 288.4 MB / 303.3 MB, free: 8.086 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.001047/0.001047, allocations: 176.5 kB / 372 MB, free: 10.25 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.667/1.667, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007402/0.0007402, allocations: 96.67 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 10.19 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00159/0.2287, allocations: 1.254 MB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008493/0.2296, allocations: 0.5786 MB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.2296, allocations: 4 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.465e-05/0.2297, allocations: 7.938 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.2298, allocations: 19.84 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.2301, allocations: 67.86 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.2302, allocations: 75.7 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2303, allocations: 28.22 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2304, allocations: 39.83 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.2305, allocations: 35.84 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2305, allocations: 4 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.2306, allocations: 55.83 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.2307, allocations: 15.92 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.2307, allocations: 33.7 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2308, allocations: 92.05 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2308, allocations: 0 / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2309, allocations: 0 / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2309, allocations: 7.938 kB / 0.9819 GB, free: 25.23 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.0007339/0.2316, allocations: 444.7 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2317, allocations: 16.02 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.2317, allocations: 42.55 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.2318, allocations: 15.91 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.2319, allocations: 194.8 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.232, allocations: 0 / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.232, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.2323, allocations: 121.5 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2323, allocations: 4 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2323, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2324, allocations: 4 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.2327, allocations: 111.9 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.2332, allocations: 360.6 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.2336, allocations: 106.5 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.2337, allocations: 68.88 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2338, allocations: 4.078 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.2341, allocations: 127.3 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2341, allocations: 0 / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005949/0.2347, allocations: 237.4 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2347, allocations: 55.41 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.2348, allocations: 140.1 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2349, allocations: 25.7 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.2349, allocations: 108 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2349, allocations: 23.7 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.2349, allocations: 0 / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.235, allocations: 322.8 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.2352, allocations: 67.95 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.2354, allocations: 67.89 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.2356, allocations: 93.66 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2356, allocations: 0 / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004153/0.236, allocations: 235.2 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.236, allocations: 31.89 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.236, allocations: 0 / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2361, allocations: 4 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2362, allocations: 27.91 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2362, allocations: 0 / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2364, allocations: 35.77 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2364, allocations: 4 kB / 0.9849 GB, free: 21.95 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 7.657e-05/0.2365, allocations: 121.8 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.2365, allocations: 11.86 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.2365, allocations: 8.719 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.2365, allocations: 4 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2366, allocations: 0 / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2366, allocations: 8 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2367, allocations: 193.6 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2367, allocations: 0 / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2368, allocations: 23.97 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2368, allocations: 0 / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2368, allocations: 7.953 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2369, allocations: 0 / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2369, allocations: 0 / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.2373, allocations: 208.8 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.2373, allocations: 85.02 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.2373, allocations: 8 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2375, allocations: 23.92 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.2375, allocations: 11.98 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2376, allocations: 0 / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.2376, allocations: 112.3 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2376, allocations: 4 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002147/0.2378, allocations: 39.94 kB / 0.9857 GB, free: 21 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.0006498/0.2385, allocations: 0.7489 MB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.2389, allocations: 207.2 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.239, allocations: 0 / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.2392, allocations: 79.94 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.2394, allocations: 15.94 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2407, allocations: 0.8206 MB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2408, allocations: 0.6926 MB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.385e-05/0.2409, allocations: 23.95 kB / 0.9882 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.241, allocations: 23.44 kB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.241, allocations: 0 / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.2538, allocations: 2.418 MB / 0.9906 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.254, allocations: 194 kB / 0.9908 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.004, allocations: 0 / 0.9908 GB, free: 15.78 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)