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.0007538/0.0007538, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007069/0.0007069, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8089/0.8089, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:190: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-531:198: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.6526/0.6526, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 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.743e-06/1.743e-06, allocations: 0 / 0.6192 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.987e-05, allocations: 5.375 kB / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001753/0.001773, allocations: 1.552 MB / 0.6207 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000764/0.002537, allocations: 0.6037 MB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.002599, allocations: 4 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.829e-05/0.002698, allocations: 11.88 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.002743, allocations: 23.78 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.003123, allocations: 115.5 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.003264, allocations: 99.62 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003367, allocations: 16.22 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.003519, allocations: 63.88 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.003583, allocations: 31.89 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.003602, allocations: 8 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.003707, allocations: 99.84 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.003749, allocations: 19.91 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.003789, allocations: 27.92 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.003987, allocations: 163.6 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003989, allocations: 0 / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.82e-07/0.00399, allocations: 0 / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.003994, allocations: 0 / 0.622 GB, free: 10.41 MB / 0.5886 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.0005651/0.004559, allocations: 391.3 kB / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.004592, allocations: 9.469 kB / 0.6224 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.004748, allocations: 36.86 kB / 0.6224 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.004913, allocations: 141.5 kB / 0.6225 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004926, allocations: 8.375 kB / 0.6225 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.004939, allocations: 4.375 kB / 0.6226 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.005146, allocations: 98.17 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005155, allocations: 192 / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.005168, allocations: 4.375 kB / 0.6227 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.005184, allocations: 11.94 kB / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.005346, allocations: 91.84 kB / 0.6228 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.005785, allocations: 276.4 kB / 0.623 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.005961, allocations: 90.5 kB / 0.6231 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.006055, allocations: 60.81 kB / 0.6232 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.00607, allocations: 0 / 0.6232 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.006273, allocations: 119.3 kB / 0.6233 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.006275, allocations: 0 / 0.6233 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0004056/0.00668, allocations: 205.5 kB / 0.6235 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.006723, allocations: 59.39 kB / 0.6235 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.006816, allocations: 137.9 kB / 0.6237 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.006832, allocations: 33.64 kB / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.006898, allocations: 100.1 kB / 0.6238 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.006918, allocations: 27.75 kB / 0.6238 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.006958, allocations: 29.7 kB / 0.6238 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.007054, allocations: 322.8 kB / 0.6241 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.007179, allocations: 89.66 kB / 0.6242 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.007277, allocations: 85.64 kB / 0.6243 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.007469, allocations: 149.7 kB / 0.6245 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.007472, allocations: 0 / 0.6245 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002545/0.007726, allocations: 225 kB / 0.6247 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.007754, allocations: 37.69 kB / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.00776, allocations: 0 / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.007773, allocations: 3.984 kB / 0.6247 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.007846, allocations: 15.98 kB / 0.6247 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.007851, allocations: 0 / 0.6247 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.007918, allocations: 35.86 kB / 0.6248 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.007928, allocations: 11.94 kB / 0.6248 GB, free: 7.34 MB / 0.5886 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 7.085e-05/0.007999, allocations: 123.2 kB / 0.6249 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.008012, allocations: 15.94 kB / 0.6249 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.008044, allocations: 12.78 kB / 0.6249 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.008052, allocations: 4 kB / 0.6249 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.008056, allocations: 3.938 kB / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008059, allocations: 0 / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.181e-05/0.008151, allocations: 137.2 kB / 0.6251 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.008152, allocations: 0 / 0.6251 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.008198, allocations: 15.98 kB / 0.6251 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.0082, allocations: 4 kB / 0.6251 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.008211, allocations: 3.984 kB / 0.6251 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.008212, allocations: 0 / 0.6251 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008212, allocations: 0 / 0.6251 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.008446, allocations: 196.8 kB / 0.6253 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.008458, allocations: 7.953 kB / 0.6253 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.008475, allocations: 4 kB / 0.6253 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.008521, allocations: 15.98 kB / 0.6253 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.008571, allocations: 15.97 kB / 0.6253 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.008578, allocations: 4 kB / 0.6253 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.008624, allocations: 110.1 kB / 0.6254 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008624, allocations: 0 / 0.6254 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001682/0.008792, allocations: 39.94 kB / 0.6255 GB, free: 6.578 MB / 0.5886 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.0001335/0.008926, allocations: 111.2 kB / 0.6256 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.009207, allocations: 212.9 kB / 0.6258 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009208, allocations: 4 kB / 0.6258 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.009301, allocations: 55.89 kB / 0.6258 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.009452, allocations: 21.95 kB / 0.6258 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.009886, allocations: 251.4 kB / 0.6261 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.302e-05/0.009949, allocations: 85.45 kB / 0.6262 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.009998, allocations: 16.48 kB / 0.6262 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.009998, allocations: 192 / 0.6262 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of Templates: time 0.0023/0.0123, allocations: 1.591 MB / 0.6277 GB, free: 4.176 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.886131853796542] Failed to read output from testmodel.py, exit status != 0: 0.01651801448315382 0.023979171 0.018422374000000002 Calling exit ...