Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 104.5 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 193 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 289.8 kB / 291 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9137/0.9137, allocations: 169.2 MB / 0.4985 GB, free: 4.641 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 93.16 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1866, allocations: 86.98 MB / 0.6803 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002701/0.1894, allocations: 1.598 MB / 0.6818 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009086/0.1903, allocations: 0.5727 MB / 0.6824 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.1904, allocations: 4 kB / 0.6824 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.583e-05/0.1905, allocations: 11.92 kB / 0.6824 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.1905, allocations: 11.86 kB / 0.6824 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1909, allocations: 79.84 kB / 0.6825 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.191, allocations: 99.64 kB / 0.6826 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1911, allocations: 24.22 kB / 0.6826 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1913, allocations: 43.89 kB / 0.6826 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.1913, allocations: 47.77 kB / 0.6827 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1914, allocations: 4 kB / 0.6827 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.543e-05/0.1915, allocations: 67.89 kB / 0.6828 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.1915, allocations: 23.97 kB / 0.6828 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.1916, allocations: 39.73 kB / 0.6828 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1917, allocations: 92.06 kB / 0.6829 GB, free: 5.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1917, allocations: 0 / 0.6829 GB, free: 5.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1917, allocations: 0 / 0.6829 GB, free: 5.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1918, allocations: 0 / 0.6829 GB, free: 5.836 MB / 494.1 MB 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.0007815/0.1925, allocations: 448.8 kB / 0.6833 GB, free: 5.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1926, allocations: 8.031 kB / 0.6833 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.1926, allocations: 24.75 kB / 0.6834 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1928, allocations: 197.6 kB / 0.6836 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1928, allocations: 384 / 0.6836 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1929, allocations: 12.36 kB / 0.6836 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.1932, allocations: 105.9 kB / 0.6837 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1932, allocations: 0 / 0.6837 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1932, allocations: 0 / 0.6837 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.1932, allocations: 11.94 kB / 0.6837 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.1935, allocations: 91.84 kB / 0.6838 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.1942, allocations: 344.7 kB / 0.6841 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1945, allocations: 90.5 kB / 0.6842 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1946, allocations: 60.88 kB / 0.6842 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1947, allocations: 0 / 0.6842 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003407/0.195, allocations: 119.3 kB / 0.6844 GB, free: 4.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.195, allocations: 0 / 0.6844 GB, free: 4.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006107/0.1956, allocations: 205.5 kB / 0.6845 GB, free: 3.977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1957, allocations: 59.39 kB / 0.6846 GB, free: 3.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1958, allocations: 139.4 kB / 0.6847 GB, free: 3.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1958, allocations: 29.7 kB / 0.6848 GB, free: 3.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.1959, allocations: 108 kB / 0.6849 GB, free: 3.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1959, allocations: 19.66 kB / 0.6849 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.196, allocations: 25.7 kB / 0.6849 GB, free: 3.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1961, allocations: 326.8 kB / 0.6852 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.1963, allocations: 55.95 kB / 0.6853 GB, free: 3.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1965, allocations: 67.89 kB / 0.6853 GB, free: 3.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.1968, allocations: 146.5 kB / 0.6855 GB, free: 2.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1968, allocations: 0 / 0.6855 GB, free: 2.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000445/0.1973, allocations: 203.1 kB / 0.6857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.1973, allocations: 33.7 kB / 0.6857 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1973, allocations: 0 / 0.6857 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1974, allocations: 0 / 0.6857 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1975, allocations: 19.97 kB / 0.6857 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1975, allocations: 80 / 0.6857 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.1977, allocations: 16.45 kB / 0.6857 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.1977, allocations: 3.984 kB / 0.6857 GB, free: 2.676 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 0.0001136/0.1978, allocations: 145.7 kB / 0.6859 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.1978, allocations: 11.84 kB / 0.6859 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.1979, allocations: 12.72 kB / 0.6859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1979, allocations: 0 / 0.6859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1979, allocations: 4 kB / 0.6859 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1979, allocations: 3.984 kB / 0.6859 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1981, allocations: 193.5 kB / 0.6861 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1981, allocations: 0 / 0.6861 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1982, allocations: 19.97 kB / 0.6861 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1982, allocations: 0 / 0.6861 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1982, allocations: 12 kB / 0.6861 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1982, allocations: 4 kB / 0.6861 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1982, allocations: 3.938 kB / 0.6861 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.1987, allocations: 180.8 kB / 0.6863 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.1987, allocations: 88.95 kB / 0.6864 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1987, allocations: 4 kB / 0.6864 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1989, allocations: 19.97 kB / 0.6864 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.1989, allocations: 7.984 kB / 0.6864 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.199, allocations: 8 kB / 0.6864 GB, free: 1.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.843e-05/0.199, allocations: 113.4 kB / 0.6865 GB, free: 1.766 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.199, allocations: 0 / 0.6865 GB, free: 1.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1993, allocations: 43.92 kB / 0.6866 GB, free: 1.723 MB / 494.1 MB 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.0001749/0.1995, allocations: 111.2 kB / 0.6867 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.1999, allocations: 195.2 kB / 0.6869 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2, allocations: 0 / 0.6869 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.2001, allocations: 63.89 kB / 0.6869 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.2004, allocations: 11.98 kB / 0.6869 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.2009, allocations: 280.4 kB / 0.6872 GB, free: 1.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2012, allocations: 0.7003 MB / 0.6879 GB, free: 308 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.2013, allocations: 11.44 kB / 0.6879 GB, free: 296 kB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2013, allocations: 7.938 kB / 0.6879 GB, free: 288 kB / 494.1 MB Notification: Performance of Templates: time 0.3062/0.5075, allocations: 1.502 MB / 0.6894 GB, free: 17.6 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)