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.001398/0.001398, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001304/0.001304, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8011/0.8011, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 60.09 kB / 0.5067 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4834, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002793/0.4863, allocations: 1.546 MB / 0.5873 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.4873, allocations: 0.5831 MB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.4873, allocations: 1.469 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.4875, allocations: 9.062 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.4876, allocations: 19.33 kB / 0.5879 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.4881, allocations: 90.3 kB / 0.5879 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.4883, allocations: 100.6 kB / 0.588 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.4885, allocations: 21.16 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.4886, allocations: 44.84 kB / 0.5881 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.4888, allocations: 51.94 kB / 0.5882 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.4888, allocations: 6.312 kB / 0.5882 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.489, allocations: 88.22 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.4891, allocations: 20.36 kB / 0.5883 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.4892, allocations: 42.08 kB / 0.5883 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.4895, allocations: 142.8 kB / 0.5884 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4895, allocations: 0 / 0.5884 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.069e-06/0.4895, allocations: 2.719 kB / 0.5884 GB, free: 23.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4895, allocations: 0 / 0.5884 GB, free: 23.54 MB / 446.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.001133/0.4907, allocations: 453 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.4907, allocations: 11.7 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.4908, allocations: 9.938 kB / 0.5889 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.4911, allocations: 195.4 kB / 0.5891 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4911, allocations: 6.875 kB / 0.5891 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.4912, allocations: 6.281 kB / 0.5891 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.4915, allocations: 106.6 kB / 0.5892 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4916, allocations: 1.125 kB / 0.5892 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.4916, allocations: 1.125 kB / 0.5892 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.4916, allocations: 8.234 kB / 0.5892 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.492, allocations: 83.61 kB / 0.5893 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.4927, allocations: 358.6 kB / 0.5896 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.493, allocations: 96.77 kB / 0.5897 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.4932, allocations: 58.28 kB / 0.5898 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.4932, allocations: 0 / 0.5898 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.4935, allocations: 108.9 kB / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4935, allocations: 4.625 kB / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005964/0.4941, allocations: 211.7 kB / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.4942, allocations: 52.34 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4943, allocations: 141.8 kB / 0.5903 GB, free: 21.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.4943, allocations: 29.14 kB / 0.5903 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.4944, allocations: 100 kB / 0.5904 GB, free: 21.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.4944, allocations: 31.66 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.4945, allocations: 29.7 kB / 0.5905 GB, free: 21.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.4945, allocations: 326.8 kB / 0.5908 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.4947, allocations: 51.95 kB / 0.5908 GB, free: 21.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.4948, allocations: 57.05 kB / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.4951, allocations: 147.9 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4951, allocations: 0 / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003565/0.4955, allocations: 204.6 kB / 0.5912 GB, free: 20.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.4956, allocations: 29.7 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4956, allocations: 1.5 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4956, allocations: 0 / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4957, allocations: 23.97 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4957, allocations: 1.281 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.4959, allocations: 19.89 kB / 0.5913 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.4959, allocations: 7.984 kB / 0.5913 GB, free: 20.66 MB / 446.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 8.039e-05/0.496, allocations: 121.3 kB / 0.5914 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.496, allocations: 11.91 kB / 0.5914 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.496, allocations: 8.719 kB / 0.5914 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.4961, allocations: 7.984 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4961, allocations: 0.7812 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4961, allocations: 3.938 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.4962, allocations: 206.8 kB / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4962, allocations: 0 / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.4963, allocations: 23.91 kB / 0.5917 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4963, allocations: 1.406 kB / 0.5917 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4964, allocations: 0 / 0.5917 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4964, allocations: 4 kB / 0.5917 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4964, allocations: 0 / 0.5917 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.4967, allocations: 187.5 kB / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.4968, allocations: 93.98 kB / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.4968, allocations: 4 kB / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4969, allocations: 14.55 kB / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.497, allocations: 11.98 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.497, allocations: 4 kB / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.4971, allocations: 109.5 kB / 0.5921 GB, free: 19.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4971, allocations: 0 / 0.5921 GB, free: 19.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.4973, allocations: 39.84 kB / 0.5921 GB, free: 19.74 MB / 446.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.0001576/0.4975, allocations: 124.2 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.4979, allocations: 182.9 kB / 0.5924 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4979, allocations: 3.938 kB / 0.5924 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.4981, allocations: 63.95 kB / 0.5925 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.4983, allocations: 15.77 kB / 0.5925 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.4988, allocations: 224.2 kB / 0.5927 GB, free: 19.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.4989, allocations: 0.7017 MB / 0.5934 GB, free: 18.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.199e-05/0.499, allocations: 16.73 kB / 0.5934 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.4991, allocations: 16.95 kB / 0.5934 GB, free: 18.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4991, allocations: 0 / 0.5934 GB, free: 18.34 MB / 446.1 MB Notification: Performance of Templates: time 0.003954/0.503, allocations: 1.407 MB / 0.5948 GB, free: 16.98 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)