Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.005229/0.005229, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001185/0.001185, allocations: 193.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2769/0.2769, allocations: 54.97 MB / 324.9 MB, free: 4.824 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 67.89 kB / 456.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1635, allocations: 59.59 MB / 0.5037 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.003029/0.1666, allocations: 1.541 MB / 0.5052 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1679, allocations: 0.5002 MB / 0.5057 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.883e-05/0.168, allocations: 7.875 kB / 0.5057 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1681, allocations: 7.922 kB / 0.5057 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.1682, allocations: 23.8 kB / 0.5057 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1685, allocations: 47.88 kB / 0.5058 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1687, allocations: 123.6 kB / 0.5059 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1689, allocations: 20.22 kB / 0.5059 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.169, allocations: 47.91 kB / 0.5059 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1692, allocations: 55.73 kB / 0.506 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.1692, allocations: 8 kB / 0.506 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.516e-05/0.1693, allocations: 12 kB / 0.506 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.1693, allocations: 19.92 kB / 0.506 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.926e-05/0.1694, allocations: 43.73 kB / 0.5061 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1696, allocations: 95.56 kB / 0.5062 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1696, allocations: 0 / 0.5062 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.1696, allocations: 7.984 kB / 0.5062 GB, free: 4.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1696, allocations: 0 / 0.5062 GB, free: 4.508 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009214/0.1706, allocations: 486.4 kB / 0.5066 GB, free: 3.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.1706, allocations: 8.031 kB / 0.5067 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.1707, allocations: 12.84 kB / 0.5067 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1709, allocations: 204.1 kB / 0.5069 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.171, allocations: 4.375 kB / 0.5069 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.171, allocations: 8.375 kB / 0.5069 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.1714, allocations: 145 kB / 0.507 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1714, allocations: 0 / 0.507 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1714, allocations: 7.984 kB / 0.507 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1714, allocations: 4 kB / 0.507 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.1718, allocations: 115.9 kB / 0.5071 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.1724, allocations: 360.5 kB / 0.5075 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.1728, allocations: 130.5 kB / 0.5076 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.1731, allocations: 104.9 kB / 0.5077 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1731, allocations: 0 / 0.5077 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.1736, allocations: 147.3 kB / 0.5078 GB, free: 2.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.1736, allocations: 0 / 0.5078 GB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008401/0.1744, allocations: 327.1 kB / 0.5082 GB, free: 2.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1745, allocations: 93.05 kB / 0.5082 GB, free: 2.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1746, allocations: 137.8 kB / 0.5084 GB, free: 2.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1747, allocations: 29.7 kB / 0.5084 GB, free: 2.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.1747, allocations: 104.1 kB / 0.5085 GB, free: 1.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1748, allocations: 31.73 kB / 0.5085 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.1748, allocations: 25.7 kB / 0.5086 GB, free: 1.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.175, allocations: 330.8 kB / 0.5089 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1752, allocations: 83.94 kB / 0.5089 GB, free: 1.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.1754, allocations: 83.94 kB / 0.509 GB, free: 1.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.1759, allocations: 270 kB / 0.5093 GB, free: 1.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1759, allocations: 3.938 kB / 0.5093 GB, free: 1.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005569/0.1765, allocations: 292.8 kB / 0.5096 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.1766, allocations: 71.39 kB / 0.5096 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1766, allocations: 0 / 0.5096 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.1766, allocations: 4 kB / 0.5096 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.1768, allocations: 19.97 kB / 0.5097 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1768, allocations: 4 kB / 0.5097 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.177, allocations: 27.91 kB / 0.5097 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.177, allocations: 7.984 kB / 0.5097 GB, free: 0.6094 MB / 398.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: 0 * Algorithm blocks: 2 * 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.0001701/0.1772, allocations: 163.5 kB / 0.5099 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.1772, allocations: 7.953 kB / 0.5099 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1773, allocations: 12.72 kB / 0.5099 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1773, allocations: 0 / 0.5099 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1773, allocations: 7.938 kB / 0.5099 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.1773, allocations: 3.984 kB / 0.5099 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1775, allocations: 209.5 kB / 0.5101 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1775, allocations: 0 / 0.5101 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1776, allocations: 19.97 kB / 0.5101 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1777, allocations: 0 / 0.5101 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1777, allocations: 4.469 kB / 0.5101 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1777, allocations: 0 / 0.5101 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1777, allocations: 0 / 0.5101 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.1783, allocations: 310.4 kB / 0.5104 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.1783, allocations: 85.06 kB / 0.5105 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1784, allocations: 0 / 0.5105 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1785, allocations: 35.95 kB / 0.5105 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.1787, allocations: 19.97 kB / 0.5105 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1787, allocations: 11.98 kB / 0.5106 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.623e-05/0.1788, allocations: 110.3 kB / 0.5107 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.415e-06/0.1788, allocations: 0 / 0.5107 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.179, allocations: 35.88 kB / 0.5107 GB, free: 15.48 MB / 414.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: 0 * Algorithm blocks: 1 * 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.0001246/0.1792, allocations: 103.2 kB / 0.5108 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006556/0.1798, allocations: 346.6 kB / 0.5111 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1799, allocations: 4 kB / 0.5111 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.1802, allocations: 191.3 kB / 0.5113 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.1804, allocations: 12 kB / 0.5113 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.1811, allocations: 311.6 kB / 0.5116 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1814, allocations: 0.7041 MB / 0.5123 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.202e-05/0.1815, allocations: 15.97 kB / 0.5123 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.1816, allocations: 15.44 kB / 0.5123 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1816, allocations: 0 / 0.5123 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Templates: time 0.004601/0.1862, allocations: 1.745 MB / 0.514 GB, free: 11.96 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)