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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.481/1.481, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0008734/0.0008734, allocations: 186.5 kB / 372.3 MB, free: 10.11 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.271/1.271, allocations: 205.4 MB / 0.631 GB, free: 9.844 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.0007504/0.0007502, allocations: 94.22 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 15.55 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.17, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00128/0.1713, allocations: 1.254 MB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.1721, allocations: 0.5863 MB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.1721, allocations: 4 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.639e-05/0.1722, allocations: 7.922 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.1723, allocations: 15.86 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1726, allocations: 67.86 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.139e-05/0.1726, allocations: 83.7 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.1727, allocations: 24.22 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.1728, allocations: 39.83 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.1729, allocations: 39.83 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1729, allocations: 4 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.173, allocations: 47.91 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.1731, allocations: 11.98 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.1731, allocations: 69.42 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1732, allocations: 96.03 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1732, allocations: 7.938 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.81e-07/0.1732, allocations: 0 / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.1732, allocations: 0 / 0.9825 GB, free: 24.86 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.000622/0.1739, allocations: 444.8 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1739, allocations: 12.03 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.174, allocations: 34.75 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.174, allocations: 12.84 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1741, allocations: 192.1 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.1741, allocations: 384 / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1742, allocations: 4.375 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.1744, allocations: 125.7 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1745, allocations: 0 / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1745, allocations: 0 / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1745, allocations: 7.984 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.1748, allocations: 107.9 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.1753, allocations: 360.7 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1756, allocations: 114.4 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1758, allocations: 68.88 kB / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1758, allocations: 0 / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.1761, allocations: 127.2 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1761, allocations: 4 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005694/0.1767, allocations: 229.4 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.1767, allocations: 59.41 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.1768, allocations: 139.9 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1768, allocations: 25.78 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.1768, allocations: 108 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.1769, allocations: 23.7 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.1769, allocations: 0 / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.1769, allocations: 326.8 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.1771, allocations: 71.89 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1773, allocations: 63.95 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.1776, allocations: 162.5 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1776, allocations: 0 / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004072/0.178, allocations: 227.2 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.178, allocations: 29.7 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1781, allocations: 4 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1781, allocations: 4 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1782, allocations: 27.97 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1782, allocations: 0 / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1784, allocations: 27.83 kB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1784, allocations: 3.938 kB / 0.9855 GB, free: 21.53 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 6.705e-05/0.1785, allocations: 131.1 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.1785, allocations: 7.906 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.1785, allocations: 8.719 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.1785, allocations: 8 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1785, allocations: 0 / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1785, allocations: 7.984 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1786, allocations: 194 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1787, allocations: 0 / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1788, allocations: 31.97 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1788, allocations: 3.938 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1788, allocations: 4 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1788, allocations: 3.938 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1788, allocations: 0 / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.1792, allocations: 200.9 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.1792, allocations: 88.92 kB / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1792, allocations: 0 / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1794, allocations: 23.97 kB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1794, allocations: 19.92 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1794, allocations: 3.984 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.1795, allocations: 112.5 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1795, allocations: 0 / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002044/0.1797, allocations: 39.94 kB / 0.9863 GB, free: 20.57 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: 1 * Algorithm blocks: 0 * 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.0005522/0.1803, allocations: 0.7568 MB / 0.9871 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.1807, allocations: 199.3 kB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1807, allocations: 0 / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.1809, allocations: 75.83 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.1811, allocations: 15.92 kB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1823, allocations: 0.8265 MB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/0.1824, allocations: 0.6926 MB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.3e-05/0.1824, allocations: 19.95 kB / 0.9888 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.1825, allocations: 31.62 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1825, allocations: 0 / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.2047, allocations: 2.402 MB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.2049, allocations: 196.6 kB / 0.9914 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.69, allocations: 0 / 0.9914 GB, free: 15.35 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)