Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00759/0.00759, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001466/0.001467, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7973/0.7973, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 64.81 kB / 0.5813 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1649, allocations: 80.2 MB / 0.6596 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002981/0.1679, allocations: 1.541 MB / 0.6612 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.169, allocations: 0.5843 MB / 0.6617 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.1691, allocations: 3.938 kB / 0.6617 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.1692, allocations: 7.922 kB / 0.6617 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.1693, allocations: 27.8 kB / 0.6618 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.1697, allocations: 87.77 kB / 0.6618 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1698, allocations: 103.6 kB / 0.6619 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1699, allocations: 24.16 kB / 0.662 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.17, allocations: 47.83 kB / 0.662 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.1701, allocations: 43.83 kB / 0.6621 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1701, allocations: 8 kB / 0.6621 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1703, allocations: 87.91 kB / 0.6621 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.1703, allocations: 15.92 kB / 0.6622 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1704, allocations: 43.72 kB / 0.6622 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1706, allocations: 143.4 kB / 0.6623 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1706, allocations: 4 kB / 0.6623 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1706, allocations: 0 / 0.6623 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.1707, allocations: 4 kB / 0.6623 GB, free: 10.89 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.0006975/0.1714, allocations: 456.6 kB / 0.6628 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.1714, allocations: 8.031 kB / 0.6628 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1714, allocations: 8.891 kB / 0.6628 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.1716, allocations: 196.2 kB / 0.663 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1716, allocations: 8.297 kB / 0.663 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1716, allocations: 4.375 kB / 0.663 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.1719, allocations: 109.9 kB / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1719, allocations: 0 / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.172, allocations: 4 kB / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.172, allocations: 4 kB / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.1723, allocations: 83.92 kB / 0.6632 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.1728, allocations: 352.6 kB / 0.6635 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.1731, allocations: 90.52 kB / 0.6636 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.1733, allocations: 56.88 kB / 0.6637 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1733, allocations: 8 kB / 0.6637 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.1736, allocations: 115.3 kB / 0.6638 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1736, allocations: 0 / 0.6638 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005787/0.1742, allocations: 209.8 kB / 0.664 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1742, allocations: 63.28 kB / 0.664 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1744, allocations: 140.4 kB / 0.6642 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1744, allocations: 25.7 kB / 0.6642 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.1745, allocations: 104 kB / 0.6643 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1745, allocations: 27.8 kB / 0.6643 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.1745, allocations: 29.7 kB / 0.6644 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.1746, allocations: 326.8 kB / 0.6647 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1748, allocations: 55.95 kB / 0.6647 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.175, allocations: 55.94 kB / 0.6648 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.1753, allocations: 142.5 kB / 0.6649 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1753, allocations: 8 kB / 0.6649 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004111/0.1757, allocations: 199.2 kB / 0.6651 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.1758, allocations: 33.69 kB / 0.6651 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1758, allocations: 0 / 0.6651 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1758, allocations: 4 kB / 0.6651 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1759, allocations: 15.98 kB / 0.6652 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1759, allocations: 4 kB / 0.6652 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1761, allocations: 27.86 kB / 0.6652 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.1761, allocations: 7.984 kB / 0.6652 GB, free: 7.723 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 8.114e-05/0.1762, allocations: 117.8 kB / 0.6653 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1762, allocations: 11.95 kB / 0.6653 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.1763, allocations: 16.64 kB / 0.6653 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.1763, allocations: 8 kB / 0.6653 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1763, allocations: 0 / 0.6653 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1763, allocations: 4 kB / 0.6653 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1764, allocations: 201.5 kB / 0.6655 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1764, allocations: 0 / 0.6655 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1766, allocations: 15.98 kB / 0.6656 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1766, allocations: 0 / 0.6656 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1766, allocations: 3.984 kB / 0.6656 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1766, allocations: 0 / 0.6656 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1766, allocations: 0 / 0.6656 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.177, allocations: 197 kB / 0.6657 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.177, allocations: 81.06 kB / 0.6658 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.1771, allocations: 4 kB / 0.6658 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1772, allocations: 11.98 kB / 0.6658 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.1772, allocations: 11.98 kB / 0.6659 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1773, allocations: 11.97 kB / 0.6659 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.1773, allocations: 109.3 kB / 0.666 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1773, allocations: 0 / 0.666 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002169/0.1776, allocations: 43.88 kB / 0.666 GB, free: 6.789 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.000137/0.1777, allocations: 115.2 kB / 0.6661 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.1781, allocations: 183.2 kB / 0.6663 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1781, allocations: 4 kB / 0.6663 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1783, allocations: 67.94 kB / 0.6664 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.1785, allocations: 11.39 kB / 0.6664 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.179, allocations: 235.4 kB / 0.6666 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1792, allocations: 0.7015 MB / 0.6673 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.1793, allocations: 15.77 kB / 0.6673 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.1794, allocations: 19.42 kB / 0.6673 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1794, allocations: 0 / 0.6673 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of Templates: time 0.003695/0.1831, allocations: 1.411 MB / 0.6687 GB, free: 3.973 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)