Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.627/2.627, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001488/0.001488, allocations: 185.8 kB / 371 MB, free: 10.85 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.185/2.185, allocations: 205.4 MB / 0.6297 GB, free: 10.49 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.001483/0.001482, allocations: 96.41 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005206, allocations: 11.19 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2363, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001961/0.2383, allocations: 1.253 MB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.2393, allocations: 493 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.2394, allocations: 0 / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.2396, allocations: 7.938 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.2397, allocations: 19.8 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.2399, allocations: 35.95 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2401, allocations: 91.69 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2402, allocations: 16.22 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.2404, allocations: 47.83 kB / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2405, allocations: 47.81 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.2406, allocations: 4 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.771e-05/0.2406, allocations: 8 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.2406, allocations: 15.92 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.2407, allocations: 41.64 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2408, allocations: 64.09 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2409, allocations: 4 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2409, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2409, allocations: 0 / 0.9805 GB, free: 26.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000948/0.2418, allocations: 478.3 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.2419, allocations: 12.02 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.242, allocations: 46.55 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.242, allocations: 15.86 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.2422, allocations: 193.4 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.2423, allocations: 4 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.2423, allocations: 8 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.2428, allocations: 145.5 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2428, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.2429, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2429, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.2435, allocations: 131.9 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.2444, allocations: 364.6 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.2449, allocations: 150.5 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.2453, allocations: 100.9 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.2454, allocations: 4 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.2459, allocations: 151.3 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 4.589e-06/0.2459, allocations: 3.984 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001228/0.2471, allocations: 343.1 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.2472, allocations: 89.09 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2474, allocations: 137.8 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.2474, allocations: 29.69 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.2475, allocations: 99.98 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.2475, allocations: 43.47 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.2475, allocations: 4 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2477, allocations: 326.8 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.248, allocations: 84.06 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.2484, allocations: 95.94 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.2488, allocations: 152.2 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2488, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00086/0.2497, allocations: 301.3 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.2497, allocations: 71.86 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2498, allocations: 4 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2498, allocations: 4 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2501, allocations: 23.97 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2501, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.2504, allocations: 39.81 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.2505, allocations: 3.984 kB / 0.984 GB, free: 22.22 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: 0 * Algorithm blocks: 2 * 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.0001599/0.2506, allocations: 168.8 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.2507, allocations: 15.86 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.2507, allocations: 12.72 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2507, allocations: 4 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2508, allocations: 7.922 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2508, allocations: 0 / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.251, allocations: 197.6 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.251, allocations: 0 / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.2512, allocations: 27.97 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2512, allocations: 3.953 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.2512, allocations: 0 / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2512, allocations: 0 / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2512, allocations: 4 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.2521, allocations: 302.5 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.2522, allocations: 100.8 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.2523, allocations: 15.89 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.2526, allocations: 35.95 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.2527, allocations: 19.97 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.2527, allocations: 4 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.022e-05/0.2528, allocations: 104.6 kB / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2528, allocations: 0 / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002934/0.2531, allocations: 28 kB / 0.985 GB, free: 21.09 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: 0 * Algorithm blocks: 1 * 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.001181/0.2543, allocations: 0.8481 MB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009575/0.2553, allocations: 362.6 kB / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2554, allocations: 0 / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.2559, allocations: 191.3 kB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2562, allocations: 17.03 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.2588, allocations: 0.9842 MB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.259, allocations: 0.7005 MB / 0.988 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.2591, allocations: 11.98 kB / 0.9881 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.2592, allocations: 27.42 kB / 0.9881 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of SimCode: time 2.625e-06/0.2592, allocations: 0 / 0.9881 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.2811, allocations: 2.681 MB / 0.9907 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.2814, allocations: 192.4 kB / 0.9909 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/3.043, allocations: 0 / 0.9909 GB, free: 15.02 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)