Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.589/1.589, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 178.3 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.5786 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007387/0.0007387, allocations: 82.42 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003145, allocations: 9.062 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1735, allocations: 106.3 MB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001496/0.1751, allocations: 1.27 MB / 0.9027 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.176, allocations: 0.6356 MB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.1761, allocations: 0 / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.961e-05/0.1762, allocations: 7.938 kB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.1762, allocations: 23.78 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1765, allocations: 67.92 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.883e-05/0.1766, allocations: 91.64 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.417e-05/0.1767, allocations: 20.22 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1769, allocations: 47.83 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.1769, allocations: 43.77 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.177, allocations: 4 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.926e-05/0.1771, allocations: 51.95 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.1771, allocations: 19.91 kB / 0.9037 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.1772, allocations: 65.44 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1773, allocations: 87.83 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1773, allocations: 0 / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1773, allocations: 0 / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.1773, allocations: 0 / 0.9038 GB, free: 60.92 MB / 0.6042 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.0006521/0.178, allocations: 449.1 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.178, allocations: 12.02 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1781, allocations: 12.75 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1782, allocations: 188.2 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1783, allocations: 8.375 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1783, allocations: 12.36 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1786, allocations: 117.9 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1786, allocations: 4 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1786, allocations: 0 / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1786, allocations: 7.984 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.179, allocations: 103.9 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.1795, allocations: 360.6 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1798, allocations: 110.5 kB / 0.9051 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.18, allocations: 68.88 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.18, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.1803, allocations: 123.3 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.1803, allocations: 7.938 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005942/0.1809, allocations: 241.5 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.181, allocations: 55.41 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.1811, allocations: 141.1 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1811, allocations: 25.7 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1811, allocations: 100 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.1812, allocations: 27.66 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.1812, allocations: 4 kB / 0.9059 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.1812, allocations: 326.8 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.1814, allocations: 67.89 kB / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1816, allocations: 67.95 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.1819, allocations: 170.5 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1819, allocations: 0 / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000407/0.1823, allocations: 219 kB / 0.9067 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1824, allocations: 33.7 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1824, allocations: 0 / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1824, allocations: 0 / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1825, allocations: 23.97 kB / 0.9068 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1825, allocations: 8 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1827, allocations: 15.98 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1827, allocations: 11.98 kB / 0.9068 GB, free: 57.62 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.1828, allocations: 121.8 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.1828, allocations: 7.906 kB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.1828, allocations: 12.72 kB / 0.9069 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.1829, allocations: 11.98 kB / 0.9069 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1829, allocations: 0 / 0.9069 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1829, allocations: 0 / 0.9069 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.183, allocations: 209.4 kB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.183, allocations: 7.984 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1831, allocations: 20.45 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1831, allocations: 3.938 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1831, allocations: 0 / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1832, allocations: 0 / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1832, allocations: 7.938 kB / 0.9072 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.1836, allocations: 204.8 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.1836, allocations: 89 kB / 0.9075 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1836, allocations: 4 kB / 0.9075 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1838, allocations: 15.98 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.1838, allocations: 15.92 kB / 0.9075 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.1838, allocations: 7.984 kB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.1839, allocations: 111.2 kB / 0.9076 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.1e-07/0.1839, allocations: 0 / 0.9076 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002189/0.1841, allocations: 35.94 kB / 0.9076 GB, free: 56.66 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.1843, allocations: 127.2 kB / 0.9078 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004151/0.1847, allocations: 199.2 kB / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1847, allocations: 0 / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.1849, allocations: 75.94 kB / 0.908 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.1851, allocations: 13.77 kB / 0.908 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.1856, allocations: 292.8 kB / 0.9083 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.1857, allocations: 0.7004 MB / 0.909 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.1858, allocations: 15.42 kB / 0.909 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of SimCode: time 1.163e-06/0.1858, allocations: 0 / 0.909 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.002657/0.1885, allocations: 1.496 MB / 0.9105 GB, free: 53.68 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)