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.001743/0.001743, allocations: 113.2 kB / 16.41 MB, free: 6.492 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.002062/0.002062, allocations: 183 kB / 17.34 MB, free: 5.762 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.598/1.598, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8801/0.8801, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67 kB / 0.5862 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1818, allocations: 80.92 MB / 0.6653 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002622/0.1844, allocations: 1.547 MB / 0.6668 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1855, allocations: 0.5803 MB / 0.6673 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.1856, allocations: 0 / 0.6673 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1857, allocations: 15.86 kB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.1857, allocations: 15.86 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1862, allocations: 95.7 kB / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1863, allocations: 99.69 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1865, allocations: 16.22 kB / 0.6676 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1866, allocations: 43.84 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.1867, allocations: 43.83 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.1867, allocations: 12 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1869, allocations: 95.84 kB / 0.6678 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.1869, allocations: 23.91 kB / 0.6678 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.187, allocations: 39.73 kB / 0.6678 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1872, allocations: 139.5 kB / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1872, allocations: 0 / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1873, allocations: 0 / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1873, allocations: 0 / 0.6679 GB, free: 3.066 MB / 0.4981 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.0008514/0.1881, allocations: 452.8 kB / 0.6684 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1882, allocations: 9.109 kB / 0.6684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.1882, allocations: 8.844 kB / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1884, allocations: 204 kB / 0.6686 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1884, allocations: 384 / 0.6686 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.1885, allocations: 4.375 kB / 0.6686 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1888, allocations: 105.9 kB / 0.6687 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1888, allocations: 4 kB / 0.6687 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1888, allocations: 0 / 0.6687 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.1889, allocations: 8 kB / 0.6687 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.1892, allocations: 91.8 kB / 0.6688 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.1899, allocations: 352.6 kB / 0.6691 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.1902, allocations: 94.5 kB / 0.6692 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1904, allocations: 56.89 kB / 0.6693 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1904, allocations: 7.922 kB / 0.6693 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.1908, allocations: 115.3 kB / 0.6694 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.1908, allocations: 0 / 0.6694 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006729/0.1915, allocations: 205.3 kB / 0.6696 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1915, allocations: 51.41 kB / 0.6696 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1917, allocations: 144.1 kB / 0.6698 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1917, allocations: 29.69 kB / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.1918, allocations: 104 kB / 0.6699 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1918, allocations: 23.7 kB / 0.6699 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.1919, allocations: 29.77 kB / 0.67 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.192, allocations: 326.8 kB / 0.6703 GB, free: 480 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1922, allocations: 55.95 kB / 0.6703 GB, free: 424 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1924, allocations: 55.95 kB / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.1928, allocations: 150.4 kB / 0.6705 GB, free: 208 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1928, allocations: 0 / 0.6705 GB, free: 208 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004758/0.1933, allocations: 199.2 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.1933, allocations: 37.64 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1933, allocations: 3.984 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1934, allocations: 4 kB / 0.6708 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1935, allocations: 15.98 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1935, allocations: 3.938 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1937, allocations: 19.91 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1937, allocations: 4 kB / 0.6708 GB, free: 15.9 MB / 0.5137 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 0.0001253/0.1938, allocations: 125.8 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.1939, allocations: 7.906 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.1939, allocations: 16.7 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.1939, allocations: 4 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1939, allocations: 0 / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1939, allocations: 0 / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1941, allocations: 201.5 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1941, allocations: 0 / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1943, allocations: 15.98 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1943, allocations: 4 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1943, allocations: 8.438 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1943, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1943, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/0.1948, allocations: 192.8 kB / 0.6713 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1948, allocations: 85.02 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1949, allocations: 4 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.195, allocations: 11.98 kB / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.1951, allocations: 15.97 kB / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1951, allocations: 8 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.1952, allocations: 105.5 kB / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1952, allocations: 0 / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002569/0.1954, allocations: 43.88 kB / 0.6716 GB, free: 14.98 MB / 0.5137 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.0001845/0.1956, allocations: 124.5 kB / 0.6717 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.1961, allocations: 183.2 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1961, allocations: 0 / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.1963, allocations: 71.88 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1965, allocations: 14.03 kB / 0.672 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.1971, allocations: 249.4 kB / 0.6722 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1974, allocations: 0.7002 MB / 0.6729 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.1975, allocations: 15.44 kB / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1975, allocations: 0 / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.003416/0.2009, allocations: 1.521 MB / 0.6744 GB, free: 12.04 MB / 0.5137 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)