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.677/2.677, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.002234/0.002234, allocations: 187.7 kB / 370.8 MB, free: 10.84 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.18/2.18, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001161/0.00116, allocations: 102.2 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004927, allocations: 11.34 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2317, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001871/0.2336, allocations: 1.242 MB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.2346, allocations: 493.2 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.2347, allocations: 4 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.2348, allocations: 11.92 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.2349, allocations: 15.91 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.2351, allocations: 35.89 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.2353, allocations: 75.83 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2354, allocations: 12.23 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.2355, allocations: 39.91 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2356, allocations: 51.8 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2357, allocations: 4 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.2357, allocations: 4 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.2358, allocations: 15.92 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.2358, allocations: 41.64 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.236, allocations: 60.09 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.236, allocations: 4 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.236, allocations: 0 / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.236, allocations: 4 kB / 0.9803 GB, free: 26.18 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.0009228/0.2369, allocations: 474.4 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.237, allocations: 16 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.237, allocations: 38.5 kB / 0.9808 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.2371, allocations: 15.86 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2373, allocations: 196.9 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2374, allocations: 8 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.2374, allocations: 7.938 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.2379, allocations: 139.2 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2379, allocations: 0 / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.238, allocations: 8 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.238, allocations: 0 / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.2386, allocations: 135.8 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.2394, allocations: 360.7 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.24, allocations: 146.5 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.24, allocations: 0 / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004972/0.2405, allocations: 155.4 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.2405, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001264/0.2418, allocations: 424.2 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.2419, allocations: 89.09 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.242, allocations: 140.1 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.242, allocations: 25.7 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.2421, allocations: 104 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.2422, allocations: 31.56 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.2422, allocations: 4 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.2423, allocations: 322.8 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.2426, allocations: 87.94 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.243, allocations: 91.94 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.2434, allocations: 151.3 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2434, allocations: 0 / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008481/0.2443, allocations: 310.4 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.2444, allocations: 73.27 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2444, allocations: 0 / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.2444, allocations: 0 / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.2446, allocations: 28.08 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2447, allocations: 3.938 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.245, allocations: 35.86 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.245, allocations: 4 kB / 0.9838 GB, free: 22.34 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.0001441/0.2452, allocations: 171.5 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.2452, allocations: 11.86 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.2453, allocations: 16.72 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2453, allocations: 3.938 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2453, allocations: 0 / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2453, allocations: 4 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.2455, allocations: 201.6 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2455, allocations: 0 / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.2458, allocations: 27.97 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2458, allocations: 0 / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.2458, allocations: 7.953 kB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2458, allocations: 0 / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2458, allocations: 0 / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.2467, allocations: 310.5 kB / 0.9845 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.2468, allocations: 92.86 kB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.2468, allocations: 0 / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.2471, allocations: 39.91 kB / 0.9846 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.2472, allocations: 23.97 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2473, allocations: 3.984 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.431e-05/0.2474, allocations: 103.3 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2474, allocations: 3.938 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002921/0.2477, allocations: 28 kB / 0.9848 GB, free: 21.2 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.001073/0.2488, allocations: 0.8482 MB / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00095/0.2497, allocations: 358.6 kB / 0.986 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2498, allocations: 0 / 0.986 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.2502, allocations: 199.3 kB / 0.9861 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.2505, allocations: 15.03 kB / 0.9862 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.253, allocations: 0.9819 MB / 0.9871 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2532, allocations: 0.7043 MB / 0.9878 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.2533, allocations: 11.98 kB / 0.9878 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.2534, allocations: 31.44 kB / 0.9878 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of SimCode: time 1.313e-06/0.2534, allocations: 0 / 0.9878 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2756, allocations: 2.654 MB / 0.9904 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.2759, allocations: 186.8 kB / 0.9906 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.763, allocations: 4.062 kB / 0.9906 GB, free: 15.15 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)