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.001179/0.00118, allocations: 117 kB / 16.37 MB, free: 6.012 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.001132/0.001132, allocations: 188.8 kB / 17.3 MB, free: 5.613 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.21/1.21, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7391/0.7391, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2861, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002149/0.2883, allocations: 1.549 MB / 0.5873 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.289, allocations: 0.583 MB / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.289, allocations: 1.25 kB / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.888e-05/0.2891, allocations: 3.938 kB / 0.5878 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.2892, allocations: 23.84 kB / 0.5879 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.2895, allocations: 90.52 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.2896, allocations: 97.64 kB / 0.588 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.2897, allocations: 20.75 kB / 0.5881 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.2898, allocations: 52.61 kB / 0.5881 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.2899, allocations: 45.58 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.2899, allocations: 9.312 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.29, allocations: 87.94 kB / 0.5882 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.2901, allocations: 24.5 kB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.2901, allocations: 41.48 kB / 0.5883 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.2903, allocations: 134.7 kB / 0.5884 GB, free: 23.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2903, allocations: 0.5 kB / 0.5884 GB, free: 23.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2903, allocations: 2.562 kB / 0.5884 GB, free: 23.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2903, allocations: 0 / 0.5884 GB, free: 23.47 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.0006141/0.2909, allocations: 453.9 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.291, allocations: 10.36 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.291, allocations: 11.31 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2911, allocations: 195.7 kB / 0.5891 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2912, allocations: 12.23 kB / 0.5891 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2912, allocations: 4.125 kB / 0.5891 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.2914, allocations: 101 kB / 0.5892 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2915, allocations: 0 / 0.5892 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2915, allocations: 5.312 kB / 0.5892 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.2915, allocations: 8.734 kB / 0.5892 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.2918, allocations: 87.36 kB / 0.5893 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.2923, allocations: 345.7 kB / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2926, allocations: 88.12 kB / 0.5897 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2927, allocations: 65.5 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2928, allocations: 0 / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.293, allocations: 122.6 kB / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.293, allocations: 3.938 kB / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005294/0.2936, allocations: 212.2 kB / 0.5901 GB, free: 21.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.2936, allocations: 55.41 kB / 0.5901 GB, free: 21.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.2937, allocations: 139 kB / 0.5903 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2937, allocations: 29.7 kB / 0.5903 GB, free: 21.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.2937, allocations: 100 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.2938, allocations: 23.66 kB / 0.5904 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.2938, allocations: 25.7 kB / 0.5904 GB, free: 21.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.2939, allocations: 330.8 kB / 0.5908 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.294, allocations: 53.08 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2942, allocations: 57.58 kB / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.2945, allocations: 155.9 kB / 0.591 GB, free: 20.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2945, allocations: 4 kB / 0.591 GB, free: 20.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003524/0.2948, allocations: 199.1 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2949, allocations: 34.2 kB / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2949, allocations: 0 / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2949, allocations: 4 kB / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.295, allocations: 19.97 kB / 0.5913 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.295, allocations: 0 / 0.5913 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2951, allocations: 16.39 kB / 0.5913 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2952, allocations: 8.5 kB / 0.5913 GB, free: 20.62 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 5.941e-05/0.2952, allocations: 133.6 kB / 0.5914 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.2952, allocations: 7.906 kB / 0.5914 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.2953, allocations: 8.719 kB / 0.5914 GB, free: 20.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2953, allocations: 7.984 kB / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2953, allocations: 0 / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2953, allocations: 0 / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.35e-05/0.2954, allocations: 202.3 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2954, allocations: 0 / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.2955, allocations: 22.28 kB / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2955, allocations: 0 / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2955, allocations: 0 / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2955, allocations: 0 / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2955, allocations: 4 kB / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.2959, allocations: 191.7 kB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.2959, allocations: 81.02 kB / 0.5919 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.2959, allocations: 17.66 kB / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.296, allocations: 11.98 kB / 0.5919 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.2961, allocations: 11.98 kB / 0.592 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2961, allocations: 4 kB / 0.592 GB, free: 19.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.004e-05/0.2961, allocations: 107.9 kB / 0.5921 GB, free: 19.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2962, allocations: 0.875 kB / 0.5921 GB, free: 19.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.2964, allocations: 39.84 kB / 0.5921 GB, free: 19.71 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.000119/0.2965, allocations: 120.2 kB / 0.5922 GB, free: 19.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.2969, allocations: 182.2 kB / 0.5924 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2969, allocations: 0 / 0.5924 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.297, allocations: 67.89 kB / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.2972, allocations: 18.62 kB / 0.5925 GB, free: 19.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.2977, allocations: 223.8 kB / 0.5927 GB, free: 19.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.2978, allocations: 0.701 MB / 0.5934 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.2978, allocations: 18.05 kB / 0.5934 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.2979, allocations: 11.44 kB / 0.5934 GB, free: 18.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2979, allocations: 0 / 0.5934 GB, free: 18.31 MB / 446.1 MB Notification: Performance of Templates: time 0.002996/0.3009, allocations: 1.413 MB / 0.5948 GB, free: 16.96 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)