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: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.885/2.885, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001558/0.001558, allocations: 182.5 kB / 370.8 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.062/2.062, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001163/0.001163, allocations: 93.05 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006375, allocations: 16.25 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2106, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001826/0.2125, allocations: 1.246 MB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.2134, allocations: 497.1 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.2135, allocations: 0 / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.43e-05/0.2136, allocations: 3.938 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.42e-05/0.2137, allocations: 27.89 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.214, allocations: 35.91 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2141, allocations: 59.91 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.2142, allocations: 20.2 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.2144, allocations: 43.84 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.2145, allocations: 47.81 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.2146, allocations: 8 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.505e-05/0.2146, allocations: 4 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.2147, allocations: 15.92 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.2147, allocations: 41.64 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2149, allocations: 68.08 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2149, allocations: 0 / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2149, allocations: 0 / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2149, allocations: 0 / 0.9802 GB, free: 26.28 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.0009626/0.2159, allocations: 474.4 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2159, allocations: 16.02 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.216, allocations: 7.906 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.2162, allocations: 200.7 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2163, allocations: 7.938 kB / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.2163, allocations: 8 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.2168, allocations: 137.6 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2168, allocations: 0 / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2169, allocations: 4 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2169, allocations: 0 / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.2175, allocations: 131.9 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.2183, allocations: 368.6 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.219, allocations: 142.5 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.219, allocations: 4 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.2195, allocations: 155.3 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.946e-06/0.2196, allocations: 0 / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001261/0.2208, allocations: 416.2 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.2209, allocations: 93.03 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.2211, allocations: 144.1 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.2211, allocations: 29.7 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.2212, allocations: 104 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.2212, allocations: 31.55 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.2212, allocations: 4 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.2213, allocations: 318.8 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.2217, allocations: 95.94 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.2221, allocations: 87.94 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.2225, allocations: 143.3 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2225, allocations: 0 / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000866/0.2234, allocations: 305.9 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.2235, allocations: 72.8 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2235, allocations: 3.938 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2235, allocations: 0 / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.2238, allocations: 23.98 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.2238, allocations: 3.984 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.2241, allocations: 39.88 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.2241, allocations: 4 kB / 0.9836 GB, free: 22.48 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.000149/0.2243, allocations: 163.5 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.2244, allocations: 11.86 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.2244, allocations: 16.7 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2244, allocations: 480 / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2244, allocations: 4 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2244, allocations: 0 / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2246, allocations: 205.6 kB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2246, allocations: 0 / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2248, allocations: 31.84 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2249, allocations: 0 / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.2249, allocations: 7.953 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2249, allocations: 4 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2249, allocations: 0 / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/0.2258, allocations: 310.6 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.2258, allocations: 92.86 kB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.2259, allocations: 3.984 kB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.2262, allocations: 35.92 kB / 0.9845 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.2263, allocations: 27.91 kB / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.2264, allocations: 3.984 kB / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.111e-05/0.2265, allocations: 107.3 kB / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2265, allocations: 0 / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003018/0.2268, allocations: 28 kB / 0.9847 GB, free: 21.35 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.0001105/0.2269, allocations: 99.23 kB / 0.9847 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009118/0.2279, allocations: 362.6 kB / 0.9851 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2279, allocations: 3.938 kB / 0.9851 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.2284, allocations: 195.3 kB / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.2286, allocations: 12.5 kB / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.2295, allocations: 319.7 kB / 0.9856 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2297, allocations: 0.7043 MB / 0.9863 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.2298, allocations: 15.92 kB / 0.9863 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.2298, allocations: 15.44 kB / 0.9863 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2299, allocations: 0 / 0.9863 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.005217/0.2351, allocations: 1.485 MB / 0.9878 GB, free: 18.06 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)