Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001011/0.001011, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001122, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.994/0.994, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 82.32 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001615/0.1786, allocations: 1.258 MB / 0.5898 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.1796, allocations: 0.569 MB / 0.5904 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1796, allocations: 7.938 kB / 0.5904 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.143e-05/0.1797, allocations: 7.922 kB / 0.5904 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.1798, allocations: 11.86 kB / 0.5904 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1801, allocations: 75.84 kB / 0.5905 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1802, allocations: 91.7 kB / 0.5906 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1804, allocations: 16.23 kB / 0.5906 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1805, allocations: 43.77 kB / 0.5906 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.1806, allocations: 39.83 kB / 0.5907 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1806, allocations: 4 kB / 0.5907 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.1807, allocations: 55.91 kB / 0.5907 GB, free: 452 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.1808, allocations: 23.91 kB / 0.5908 GB, free: 428 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.1808, allocations: 65.48 kB / 0.5908 GB, free: 356 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.181, allocations: 99.98 kB / 0.5909 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.181, allocations: 0 / 0.5909 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.181, allocations: 0 / 0.5909 GB, free: 256 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.181, allocations: 4 kB / 0.5909 GB, free: 252 kB / 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.0007888/0.1818, allocations: 444.8 kB / 0.5913 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1819, allocations: 8.031 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1819, allocations: 12.83 kB / 0.5914 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1821, allocations: 192.1 kB / 0.5915 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1821, allocations: 12.31 kB / 0.5916 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1822, allocations: 4.375 kB / 0.5916 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.1825, allocations: 121.9 kB / 0.5917 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1825, allocations: 0 / 0.5917 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1825, allocations: 4 kB / 0.5917 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.1825, allocations: 4 kB / 0.5917 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.1829, allocations: 107.9 kB / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.1835, allocations: 360.6 kB / 0.5921 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.1839, allocations: 110.5 kB / 0.5922 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.1841, allocations: 64.98 kB / 0.5923 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1841, allocations: 7.938 kB / 0.5923 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.1844, allocations: 123.3 kB / 0.5924 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.1844, allocations: 0 / 0.5924 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006808/0.1851, allocations: 229.5 kB / 0.5926 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1852, allocations: 59.41 kB / 0.5927 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1853, allocations: 148 kB / 0.5928 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1853, allocations: 25.7 kB / 0.5929 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.1854, allocations: 100.1 kB / 0.593 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1854, allocations: 27.62 kB / 0.593 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.1855, allocations: 17.72 kB / 0.593 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1856, allocations: 326.8 kB / 0.5933 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1858, allocations: 67.95 kB / 0.5934 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.186, allocations: 67.67 kB / 0.5934 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.1864, allocations: 166.5 kB / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1864, allocations: 0 / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000479/0.1869, allocations: 215.5 kB / 0.5938 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.1869, allocations: 37.64 kB / 0.5938 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1869, allocations: 0 / 0.5938 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.187, allocations: 4.094 kB / 0.5938 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1871, allocations: 31.91 kB / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1871, allocations: 0 / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1873, allocations: 27.83 kB / 0.5939 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.1873, allocations: 7.984 kB / 0.5939 GB, free: 12.93 MB / 0.4981 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 (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 9.886e-05/0.1874, allocations: 121.8 kB / 0.594 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.1874, allocations: 7.906 kB / 0.594 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.1875, allocations: 16.72 kB / 0.594 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.1875, allocations: 7.984 kB / 0.5941 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1875, allocations: 0 / 0.5941 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1875, allocations: 0 / 0.5941 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.1877, allocations: 201.5 kB / 0.5942 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1877, allocations: 3.984 kB / 0.5943 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1878, allocations: 27.98 kB / 0.5943 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1878, allocations: 0 / 0.5943 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1879, allocations: 0 / 0.5943 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1879, allocations: 0 / 0.5943 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1879, allocations: 0 / 0.5943 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.1883, allocations: 208.8 kB / 0.5945 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1884, allocations: 92.91 kB / 0.5946 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1884, allocations: 0 / 0.5946 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1885, allocations: 19.98 kB / 0.5946 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.1886, allocations: 11.98 kB / 0.5946 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1886, allocations: 7.984 kB / 0.5946 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.1887, allocations: 105.8 kB / 0.5947 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1887, allocations: 0 / 0.5947 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002441/0.189, allocations: 39.94 kB / 0.5947 GB, free: 11.98 MB / 0.4981 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.0001654/0.1891, allocations: 119.2 kB / 0.5949 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.1896, allocations: 203.2 kB / 0.5951 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1897, allocations: 4 kB / 0.5951 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.1899, allocations: 72.12 kB / 0.5951 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1901, allocations: 16.5 kB / 0.5951 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.1907, allocations: 300.6 kB / 0.5954 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1909, allocations: 0.6965 MB / 0.5961 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.191, allocations: 15.42 kB / 0.5961 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.191, allocations: 4 kB / 0.5961 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.00318/0.1942, allocations: 1.497 MB / 0.5976 GB, free: 8.988 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)