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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.128/1.128, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8065/0.8065, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.68e-05, allocations: 4.562 kB / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002672/0.002698, allocations: 1.636 MB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000993/0.003691, allocations: 0.6355 MB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.003755, allocations: 9.328 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.833e-05/0.003854, allocations: 7.922 kB / 482.7 MB, free: 4.312 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.003911, allocations: 25.16 kB / 482.7 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.004331, allocations: 97.39 kB / 482.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.004477, allocations: 98.11 kB / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.004564, allocations: 21.2 kB / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.00473, allocations: 63.83 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.0048, allocations: 36.94 kB / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.004818, allocations: 8 kB / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.004973, allocations: 107.8 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.005015, allocations: 24.66 kB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.005049, allocations: 23.98 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.005236, allocations: 152.4 kB / 483.3 MB, free: 3.684 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005238, allocations: 0 / 483.3 MB, free: 3.684 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005239, allocations: 0 / 483.3 MB, free: 3.684 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005244, allocations: 0.5938 kB / 483.3 MB, free: 3.684 MB / 442.7 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.0004615/0.005705, allocations: 350.6 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.005739, allocations: 12.03 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.005909, allocations: 37.67 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.006062, allocations: 127.1 kB / 483.8 MB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.006072, allocations: 4.375 kB / 483.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.006085, allocations: 12.31 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.006235, allocations: 94.44 kB / 483.9 MB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006243, allocations: 192 / 483.9 MB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.006253, allocations: 4.359 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.006279, allocations: 13.17 kB / 483.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.494e-05/0.006314, allocations: 12.53 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.006639, allocations: 206.4 kB / 484.1 MB, free: 2.762 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.006716, allocations: 70.48 kB / 484.2 MB, free: 2.684 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.00674, allocations: 18.72 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.006753, allocations: 0 / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.006871, allocations: 87.34 kB / 484.3 MB, free: 2.566 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 8.91e-07/0.006872, allocations: 0 / 484.3 MB, free: 2.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001371/0.007009, allocations: 66.3 kB / 484.4 MB, free: 2.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.007038, allocations: 51.41 kB / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.007118, allocations: 147.2 kB / 484.6 MB, free: 2.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.007133, allocations: 29.7 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.007182, allocations: 96.69 kB / 484.7 MB, free: 2.145 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.007201, allocations: 32.33 kB / 484.7 MB, free: 2.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.007239, allocations: 25.69 kB / 484.8 MB, free: 2.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.007315, allocations: 323.4 kB / 485.1 MB, free: 1.758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.007358, allocations: 41.11 kB / 485.1 MB, free: 1.711 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.007387, allocations: 37.69 kB / 485.2 MB, free: 1.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.456e-05/0.007452, allocations: 65.03 kB / 485.2 MB, free: 1.594 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007453, allocations: 4 kB / 485.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000114/0.007567, allocations: 138.2 kB / 485.4 MB, free: 1.438 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.007594, allocations: 29.7 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.0076, allocations: 0 / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.007613, allocations: 0.6875 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.007703, allocations: 19.98 kB / 485.4 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.007705, allocations: 0.5312 kB / 485.4 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.007764, allocations: 21.97 kB / 485.4 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.007774, allocations: 3.984 kB / 485.4 MB, free: 1.359 MB / 442.7 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 6.792e-05/0.007842, allocations: 112.7 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.007856, allocations: 12.55 kB / 485.6 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.007881, allocations: 17.36 kB / 485.6 MB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.007891, allocations: 4 kB / 485.6 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.007893, allocations: 1.75 kB / 485.6 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007896, allocations: 0 / 485.6 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.023e-05/0.007986, allocations: 98.23 kB / 485.7 MB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007988, allocations: 0 / 485.7 MB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.008031, allocations: 17.67 kB / 485.7 MB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008033, allocations: 3.938 kB / 485.7 MB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.008042, allocations: 4 kB / 485.7 MB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008043, allocations: 0 / 485.7 MB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008044, allocations: 0 / 485.7 MB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.895e-05/0.008143, allocations: 95.77 kB / 485.8 MB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.008157, allocations: 17.56 kB / 485.8 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.008174, allocations: 3.938 kB / 485.8 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.008215, allocations: 12.83 kB / 485.8 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.008257, allocations: 12.73 kB / 485.8 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.008263, allocations: 0 / 485.8 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.008288, allocations: 31.58 kB / 485.9 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.008288, allocations: 0 / 485.9 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.008447, allocations: 43.94 kB / 485.9 MB, free: 0.8398 MB / 442.7 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.0001311/0.008578, allocations: 100.3 kB / 486 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.008715, allocations: 131.1 kB / 486.1 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.008719, allocations: 0 / 486.1 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.008759, allocations: 24.83 kB / 486.2 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.008875, allocations: 20.97 kB / 486.2 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.009372, allocations: 222 kB / 486.4 MB, free: 300 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.009407, allocations: 63.34 kB / 486.5 MB, free: 216 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.009449, allocations: 9.984 kB / 486.5 MB, free: 212 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.00952, allocations: 67.36 kB / 486.5 MB, free: 144 kB / 442.7 MB Notification: Performance of SimCode: time 9.21e-07/0.009521, allocations: 0.7812 kB / 486.5 MB, free: 144 kB / 442.7 MB Notification: Performance of Templates: time 0.003286/0.01281, allocations: 1.473 MB / 488 MB, free: 14.76 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.02050456777215]