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: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.001161/0.001162, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.734/1.734, allocations: 205.4 MB / 0.6316 GB, free: 9.898 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.0008059/0.000806, allocations: 94.17 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004134, allocations: 11.25 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1779, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001553/0.1795, allocations: 1.25 MB / 0.9819 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.1804, allocations: 0.5864 MB / 0.9825 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.1805, allocations: 0 / 0.9825 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.345e-05/0.1806, allocations: 11.92 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.1806, allocations: 15.8 kB / 0.9825 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.181, allocations: 71.91 kB / 0.9826 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1811, allocations: 87.64 kB / 0.9827 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1812, allocations: 16.23 kB / 0.9827 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1814, allocations: 39.84 kB / 0.9828 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.1815, allocations: 39.81 kB / 0.9828 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1815, allocations: 8 kB / 0.9828 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.1816, allocations: 47.97 kB / 0.9828 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.1817, allocations: 15.92 kB / 0.9829 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.1817, allocations: 61.48 kB / 0.9829 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1819, allocations: 99.97 kB / 0.983 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1819, allocations: 0 / 0.983 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.1819, allocations: 0 / 0.983 GB, free: 25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1819, allocations: 4 kB / 0.983 GB, free: 25 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.0008072/0.1827, allocations: 444.8 kB / 0.9834 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.1828, allocations: 8.031 kB / 0.9834 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.1829, allocations: 8.844 kB / 0.9835 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1831, allocations: 196 kB / 0.9836 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.1832, allocations: 8.375 kB / 0.9837 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1832, allocations: 4.375 kB / 0.9837 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.1835, allocations: 113.9 kB / 0.9838 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1836, allocations: 4 kB / 0.9838 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1836, allocations: 8 kB / 0.9838 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.1836, allocations: 4 kB / 0.9838 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.184, allocations: 103.9 kB / 0.9839 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.1846, allocations: 360.7 kB / 0.9842 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.1849, allocations: 110.5 kB / 0.9843 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.185, allocations: 64.98 kB / 0.9844 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1851, allocations: 11.88 kB / 0.9844 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.1854, allocations: 123.3 kB / 0.9845 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.175e-06/0.1854, allocations: 0 / 0.9845 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0007193/0.1861, allocations: 241.3 kB / 0.9848 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1861, allocations: 51.41 kB / 0.9848 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1862, allocations: 144 kB / 0.9849 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1863, allocations: 29.7 kB / 0.985 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.1863, allocations: 99.98 kB / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1864, allocations: 27.77 kB / 0.9851 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.1864, allocations: 0 / 0.9851 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.1865, allocations: 334.8 kB / 0.9854 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1866, allocations: 59.95 kB / 0.9855 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1868, allocations: 67.95 kB / 0.9855 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.1871, allocations: 166.4 kB / 0.9857 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1872, allocations: 0 / 0.9857 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004017/0.1876, allocations: 215.2 kB / 0.9859 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.1876, allocations: 37.64 kB / 0.9859 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1876, allocations: 0 / 0.9859 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1876, allocations: 0 / 0.9859 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1878, allocations: 23.97 kB / 0.986 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1878, allocations: 0 / 0.986 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.1879, allocations: 31.83 kB / 0.986 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.188, allocations: 8 kB / 0.986 GB, free: 21.71 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.77e-05/0.1881, allocations: 129.7 kB / 0.9861 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.1881, allocations: 11.89 kB / 0.9861 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.1881, allocations: 12.72 kB / 0.9861 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1881, allocations: 480 / 0.9861 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1881, allocations: 0 / 0.9861 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.1882, allocations: 85.02 kB / 0.9862 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1882, allocations: 11.92 kB / 0.9862 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.1883, allocations: 19.98 kB / 0.9862 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.1884, allocations: 19.91 kB / 0.9863 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004746/0.1889, allocations: 264.8 kB / 0.9865 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003869/0.1893, allocations: 354.6 kB / 0.9869 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002007/0.1895, allocations: 63.95 kB / 0.9869 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.1895, allocations: 120.5 kB / 0.987 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of Backend: time 8.11e-07/0.1895, allocations: 0 / 0.987 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005725/0.1901, allocations: 233.8 kB / 0.9873 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000455/0.1906, allocations: 0.6682 MB / 0.9879 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.003573/0.1942, allocations: 1.524 MB / 0.9894 GB, free: 18.11 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)