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.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.001355/0.001355, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001547/0.001547, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9321/0.9321, allocations: 134 MB / 447.2 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] 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.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_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 66.7 kB / 0.6197 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2175, allocations: 85.91 MB / 0.7036 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002993/0.2205, allocations: 1.545 MB / 0.7051 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2217, allocations: 0.6155 MB / 0.7057 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.2218, allocations: 3.938 kB / 0.7057 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.2219, allocations: 15.86 kB / 0.7057 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.2219, allocations: 15.8 kB / 0.7057 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.2224, allocations: 107.7 kB / 0.7058 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.2226, allocations: 99.64 kB / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2227, allocations: 16.2 kB / 0.7059 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.2229, allocations: 55.84 kB / 0.706 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.223, allocations: 47.77 kB / 0.706 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.223, allocations: 8 kB / 0.706 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.2232, allocations: 91.89 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.2232, allocations: 19.92 kB / 0.7061 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.2233, allocations: 31.86 kB / 0.7062 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2236, allocations: 155.3 kB / 0.7063 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2236, allocations: 0 / 0.7063 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2236, allocations: 0 / 0.7063 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2236, allocations: 0 / 0.7063 GB, free: 13.74 MB / 0.5294 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.0009174/0.2245, allocations: 391.4 kB / 0.7067 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2245, allocations: 8.031 kB / 0.7067 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.2248, allocations: 36.81 kB / 0.7067 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.2251, allocations: 138.4 kB / 0.7069 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2251, allocations: 384 / 0.7069 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.2251, allocations: 12.31 kB / 0.7069 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.2254, allocations: 109.9 kB / 0.707 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2254, allocations: 4 kB / 0.707 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2254, allocations: 0 / 0.707 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.2255, allocations: 4 kB / 0.707 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.2258, allocations: 83.92 kB / 0.7071 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.2264, allocations: 284.3 kB / 0.7073 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.2267, allocations: 86.52 kB / 0.7074 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.2269, allocations: 56.88 kB / 0.7075 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.2269, allocations: 0 / 0.7075 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.2272, allocations: 119.2 kB / 0.7076 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2272, allocations: 0 / 0.7076 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006457/0.2279, allocations: 205.5 kB / 0.7078 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.2279, allocations: 63.41 kB / 0.7078 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.228, allocations: 139.9 kB / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2281, allocations: 33.7 kB / 0.708 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.2281, allocations: 100.1 kB / 0.7081 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.2282, allocations: 31.73 kB / 0.7081 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.2282, allocations: 29.7 kB / 0.7082 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2284, allocations: 326.8 kB / 0.7085 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.2286, allocations: 85.66 kB / 0.7086 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.2288, allocations: 77.66 kB / 0.7086 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.2291, allocations: 149.1 kB / 0.7088 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2291, allocations: 4 kB / 0.7088 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004781/0.2296, allocations: 224.9 kB / 0.709 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.2296, allocations: 37.69 kB / 0.709 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2297, allocations: 0 / 0.709 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2297, allocations: 0 / 0.709 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.2298, allocations: 15.98 kB / 0.709 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2298, allocations: 0 / 0.709 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.2299, allocations: 35.86 kB / 0.7091 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.23, allocations: 7.938 kB / 0.7091 GB, free: 10.69 MB / 0.5294 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.0001094/0.2301, allocations: 113.8 kB / 0.7092 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.2301, allocations: 15.88 kB / 0.7092 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.2301, allocations: 16.7 kB / 0.7092 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.2301, allocations: 8 kB / 0.7092 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2302, allocations: 3.938 kB / 0.7092 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2302, allocations: 0 / 0.7092 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2303, allocations: 133.2 kB / 0.7094 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2303, allocations: 8 kB / 0.7094 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2304, allocations: 19.97 kB / 0.7094 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2304, allocations: 0 / 0.7094 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2304, allocations: 4 kB / 0.7094 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2304, allocations: 0 / 0.7094 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2304, allocations: 0.5469 kB / 0.7094 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.2309, allocations: 196.7 kB / 0.7096 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.2309, allocations: 15.94 kB / 0.7096 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.2309, allocations: 0 / 0.7096 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2311, allocations: 15.98 kB / 0.7096 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.2311, allocations: 15.97 kB / 0.7096 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.2311, allocations: 0 / 0.7096 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.618e-05/0.2312, allocations: 108.9 kB / 0.7097 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2312, allocations: 4 kB / 0.7097 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002379/0.2315, allocations: 43.92 kB / 0.7098 GB, free: 9.922 MB / 0.5294 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.000167/0.2316, allocations: 115.2 kB / 0.7099 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.2321, allocations: 208.9 kB / 0.7101 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2321, allocations: 0 / 0.7101 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.2323, allocations: 55.95 kB / 0.7101 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.2325, allocations: 11.98 kB / 0.7101 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.2331, allocations: 266.1 kB / 0.7104 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.717e-05/0.2332, allocations: 93.17 kB / 0.7105 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.2333, allocations: 15.42 kB / 0.7105 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2333, allocations: 0 / 0.7105 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.003666/0.2369, allocations: 1.578 MB / 0.712 GB, free: 7.52 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.603085281793028] Failed to read output from testmodel.py, exit status != 0: 0.24502899823710322 0.259175997 0.032695041 Calling exit ...