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.0009725/0.0009725, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009966/0.009966, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.713/1.713, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.068/1.068, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 12 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 82.3 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001785/0.2158, allocations: 1.258 MB / 0.5892 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2168, allocations: 0.5768 MB / 0.5897 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.2169, allocations: 3.938 kB / 0.5898 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.721e-05/0.217, allocations: 7.875 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.217, allocations: 11.86 kB / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.2174, allocations: 71.86 kB / 0.5898 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2175, allocations: 95.7 kB / 0.5899 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2176, allocations: 16.22 kB / 0.5899 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2178, allocations: 39.78 kB / 0.59 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.2179, allocations: 43.83 kB / 0.59 GB, free: 496 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2179, allocations: 4 kB / 0.59 GB, free: 492 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.218, allocations: 59.89 kB / 0.5901 GB, free: 432 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.2181, allocations: 19.91 kB / 0.5901 GB, free: 412 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/0.2181, allocations: 61.44 kB / 0.5902 GB, free: 344 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.2184, allocations: 135.9 kB / 0.5903 GB, free: 208 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2184, allocations: 0 / 0.5903 GB, free: 208 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2184, allocations: 0 / 0.5903 GB, free: 208 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2184, allocations: 0 / 0.5903 GB, free: 208 kB / 494.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.0008501/0.2193, allocations: 452.8 kB / 0.5907 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.2193, allocations: 12.03 kB / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.2194, allocations: 8.844 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.2196, allocations: 200 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2196, allocations: 4.375 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.2196, allocations: 4.375 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.22, allocations: 117.9 kB / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.22, allocations: 0 / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.22, allocations: 0 / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.22, allocations: 4 kB / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.2204, allocations: 107.9 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.2211, allocations: 360.6 kB / 0.5915 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.2214, allocations: 110.5 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.2216, allocations: 72.88 kB / 0.5917 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2217, allocations: 4 kB / 0.5917 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.222, allocations: 127.3 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.222, allocations: 0 / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006962/0.2227, allocations: 241.3 kB / 0.592 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2228, allocations: 55.41 kB / 0.5921 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2229, allocations: 140.1 kB / 0.5922 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2229, allocations: 25.7 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.223, allocations: 104 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.2231, allocations: 23.64 kB / 0.5924 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2231, allocations: 17.72 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2233, allocations: 330.8 kB / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.2235, allocations: 64.06 kB / 0.5928 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2237, allocations: 71.89 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.2241, allocations: 164.4 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2241, allocations: 0 / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004988/0.2246, allocations: 227.1 kB / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.2246, allocations: 32.2 kB / 0.5932 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2246, allocations: 0 / 0.5932 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2247, allocations: 4 kB / 0.5932 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.2248, allocations: 23.97 kB / 0.5933 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2248, allocations: 4.062 kB / 0.5933 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.225, allocations: 31.83 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.225, allocations: 0 / 0.5933 GB, free: 12.88 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 0.000121/0.2251, allocations: 133.7 kB / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.2252, allocations: 7.906 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.2252, allocations: 8.719 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.2252, allocations: 4 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2252, allocations: 3.984 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2252, allocations: 7.984 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2254, allocations: 197.5 kB / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2254, allocations: 0 / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.2256, allocations: 23.97 kB / 0.5937 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2256, allocations: 0 / 0.5937 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2256, allocations: 8 kB / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2256, allocations: 0 / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2256, allocations: 480 / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.2261, allocations: 208.7 kB / 0.5939 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.2261, allocations: 92.92 kB / 0.594 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2261, allocations: 0 / 0.594 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2263, allocations: 27.97 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.2264, allocations: 7.984 kB / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2264, allocations: 4 kB / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.123e-05/0.2264, allocations: 109.3 kB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2264, allocations: 0 / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002457/0.2267, allocations: 43.94 kB / 0.5941 GB, free: 11.91 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.000229/0.2269, allocations: 115.2 kB / 0.5943 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.2274, allocations: 199.2 kB / 0.5944 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2275, allocations: 0 / 0.5944 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.2277, allocations: 71.95 kB / 0.5945 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.2279, allocations: 15.98 kB / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.2285, allocations: 267 kB / 0.5948 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.2289, allocations: 0.7043 MB / 0.5955 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.229, allocations: 11.98 kB / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.2291, allocations: 15.38 kB / 0.5955 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.2291, allocations: 0 / 0.5955 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.00516/0.2343, allocations: 1.264 MB / 0.5967 GB, free: 9.188 MB / 0.4981 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)