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.001886/0.001886, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002457/0.002457, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.898/1.898, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.9389/0.9389, allocations: 134 MB / 447.2 MB, free: 10.26 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.002019/0.002019, allocations: 71.7 kB / 0.6197 GB, free: 6.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2231, allocations: 85.9 MB / 0.7036 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.00334/0.2265, allocations: 1.595 MB / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2279, allocations: 0.6544 MB / 0.7058 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.2279, allocations: 3.938 kB / 0.7058 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.228, allocations: 3.938 kB / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.2281, allocations: 27.78 kB / 0.7059 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.2286, allocations: 107.7 kB / 0.706 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.2288, allocations: 95.64 kB / 0.7061 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2289, allocations: 16.22 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.2291, allocations: 55.78 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2292, allocations: 51.81 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2292, allocations: 4 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.2294, allocations: 103.9 kB / 0.7063 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.2295, allocations: 19.92 kB / 0.7063 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.2295, allocations: 39.73 kB / 0.7063 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.2298, allocations: 159.3 kB / 0.7065 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2298, allocations: 0 / 0.7065 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2298, allocations: 0 / 0.7065 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.2298, allocations: 0 / 0.7065 GB, free: 13.97 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.0008947/0.2307, allocations: 383.5 kB / 0.7068 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2308, allocations: 12.03 kB / 0.7069 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.2311, allocations: 32.81 kB / 0.7069 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.2314, allocations: 146.3 kB / 0.707 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2314, allocations: 4.375 kB / 0.707 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.2314, allocations: 4.375 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.2318, allocations: 113.9 kB / 0.7071 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2318, allocations: 0 / 0.7071 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2318, allocations: 4 kB / 0.7071 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.2318, allocations: 4 kB / 0.7072 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.2321, allocations: 83.86 kB / 0.7072 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/0.2328, allocations: 327.7 kB / 0.7075 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.2332, allocations: 82.52 kB / 0.7076 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2333, allocations: 52.88 kB / 0.7077 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2333, allocations: 8 kB / 0.7077 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.2336, allocations: 119.2 kB / 0.7078 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.2336, allocations: 0 / 0.7078 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006694/0.2343, allocations: 209.5 kB / 0.708 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.2344, allocations: 51.41 kB / 0.708 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.2345, allocations: 151.8 kB / 0.7082 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2345, allocations: 25.7 kB / 0.7082 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.2346, allocations: 104 kB / 0.7083 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.2347, allocations: 27.8 kB / 0.7083 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.2347, allocations: 25.7 kB / 0.7084 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2349, allocations: 326.8 kB / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.2351, allocations: 55.95 kB / 0.7087 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2352, allocations: 51.95 kB / 0.7088 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.2356, allocations: 145.3 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2356, allocations: 4 kB / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004693/0.2361, allocations: 211.2 kB / 0.7091 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.2361, allocations: 29.7 kB / 0.7092 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2361, allocations: 0 / 0.7092 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2361, allocations: 0 / 0.7092 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.2363, allocations: 27.97 kB / 0.7092 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2363, allocations: 0 / 0.7092 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2364, allocations: 27.81 kB / 0.7092 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2364, allocations: 4 kB / 0.7092 GB, free: 10.97 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.0001178/0.2366, allocations: 122.2 kB / 0.7093 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.2366, allocations: 11.95 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.2366, allocations: 12.72 kB / 0.7093 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.2366, allocations: 11.92 kB / 0.7094 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2367, allocations: 3.984 kB / 0.7094 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2367, allocations: 3.938 kB / 0.7094 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.2369, allocations: 164.7 kB / 0.7095 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2369, allocations: 0 / 0.7095 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.237, allocations: 19.97 kB / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.237, allocations: 0 / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.237, allocations: 4 kB / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.237, allocations: 0 / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.237, allocations: 4 kB / 0.7096 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.2374, allocations: 188.8 kB / 0.7097 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.2375, allocations: 11.94 kB / 0.7097 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2375, allocations: 0 / 0.7097 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2376, allocations: 19.97 kB / 0.7098 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.2377, allocations: 15.91 kB / 0.7098 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2377, allocations: 4 kB / 0.7098 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.082e-05/0.2378, allocations: 116.5 kB / 0.7099 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2378, allocations: 0 / 0.7099 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002597/0.238, allocations: 39.92 kB / 0.7099 GB, free: 10.16 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.0001988/0.2382, allocations: 111.2 kB / 0.71 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.2387, allocations: 179.2 kB / 0.7102 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.2387, allocations: 8 kB / 0.7102 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2389, allocations: 51.95 kB / 0.7103 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.2392, allocations: 14.7 kB / 0.7103 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.2398, allocations: 266 kB / 0.7105 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.2402, allocations: 0.7117 MB / 0.7112 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.2402, allocations: 15.61 kB / 0.7112 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.2402, allocations: 0 / 0.7112 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of Templates: time 0.004077/0.2443, allocations: 1.55 MB / 0.7128 GB, free: 7.191 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: 9.486829702043906] Failed to read output from testmodel.py, exit status != 0: 0.25295692891813815 0.269234507 0.036098487000000005 Calling exit ...