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.001408/0.001408, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00298/0.00298, allocations: 160 kB / 23.01 MB, free: 4.605 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.464/1.464, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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.7985/0.7985, allocations: 101.3 MB / 361.1 MB, free: 9.52 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 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.002253/0.002253, allocations: 71.58 kB / 0.5356 GB, free: 5.293 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1902, allocations: 85.89 MB / 0.6195 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003407/0.1936, allocations: 1.549 MB / 0.621 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.195, allocations: 0.6038 MB / 0.6216 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.1951, allocations: 7.938 kB / 0.6216 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.1952, allocations: 7.922 kB / 0.6216 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.482e-05/0.1952, allocations: 19.8 kB / 0.6216 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.1957, allocations: 111.7 kB / 0.6217 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.196, allocations: 95.69 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1961, allocations: 12.17 kB / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.1963, allocations: 55.83 kB / 0.6219 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1964, allocations: 43.83 kB / 0.6219 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1964, allocations: 15.94 kB / 0.6219 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.1966, allocations: 91.89 kB / 0.622 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.1967, allocations: 19.92 kB / 0.622 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.1967, allocations: 27.86 kB / 0.6221 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.197, allocations: 163.3 kB / 0.6222 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.197, allocations: 0 / 0.6222 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.197, allocations: 0 / 0.6222 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.197, allocations: 0 / 0.6222 GB, free: 14.78 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.0008787/0.1979, allocations: 387.4 kB / 0.6226 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1979, allocations: 12.03 kB / 0.6226 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.1983, allocations: 40.81 kB / 0.6226 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1986, allocations: 134.4 kB / 0.6228 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1986, allocations: 12.31 kB / 0.6228 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1986, allocations: 4.375 kB / 0.6228 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1989, allocations: 104.4 kB / 0.6229 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1989, allocations: 0 / 0.6229 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.199, allocations: 12 kB / 0.6229 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.199, allocations: 4 kB / 0.6229 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.1993, allocations: 83.91 kB / 0.623 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.2001, allocations: 284.3 kB / 0.6232 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.2004, allocations: 94.5 kB / 0.6233 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2006, allocations: 48.89 kB / 0.6234 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2006, allocations: 3.984 kB / 0.6234 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/0.2009, allocations: 115.3 kB / 0.6235 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.2009, allocations: 0 / 0.6235 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006956/0.2016, allocations: 201.5 kB / 0.6237 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.2017, allocations: 59.34 kB / 0.6237 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2018, allocations: 141.8 kB / 0.6239 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2018, allocations: 29.7 kB / 0.6239 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.2019, allocations: 104.1 kB / 0.624 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.202, allocations: 27.91 kB / 0.624 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.202, allocations: 33.92 kB / 0.6241 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2022, allocations: 330.8 kB / 0.6244 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.2024, allocations: 81.66 kB / 0.6245 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2026, allocations: 89.59 kB / 0.6245 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.203, allocations: 138.5 kB / 0.6247 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.203, allocations: 0 / 0.6247 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005428/0.2036, allocations: 232.9 kB / 0.6249 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.2036, allocations: 33.69 kB / 0.6249 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2036, allocations: 0 / 0.6249 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2036, allocations: 0 / 0.6249 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2038, allocations: 23.98 kB / 0.625 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2038, allocations: 0 / 0.625 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2039, allocations: 27.86 kB / 0.625 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.204, allocations: 7.938 kB / 0.625 GB, free: 11.72 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.0001193/0.2041, allocations: 117.8 kB / 0.6251 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.2041, allocations: 11.94 kB / 0.6251 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.2041, allocations: 16.72 kB / 0.6251 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.2042, allocations: 7.938 kB / 0.6251 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2042, allocations: 0 / 0.6251 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2042, allocations: 0 / 0.6251 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.2043, allocations: 141.2 kB / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2043, allocations: 0 / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.2045, allocations: 19.98 kB / 0.6253 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2045, allocations: 0 / 0.6253 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2045, allocations: 7.984 kB / 0.6253 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2045, allocations: 0 / 0.6253 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2045, allocations: 4 kB / 0.6253 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.205, allocations: 188.8 kB / 0.6255 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.205, allocations: 7.953 kB / 0.6255 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.205, allocations: 4 kB / 0.6255 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.2051, allocations: 15.98 kB / 0.6255 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.2052, allocations: 15.95 kB / 0.6255 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2052, allocations: 4 kB / 0.6255 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.675e-05/0.2053, allocations: 117.4 kB / 0.6256 GB, free: 11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2053, allocations: 0 / 0.6256 GB, free: 11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002718/0.2056, allocations: 39.88 kB / 0.6257 GB, free: 10.96 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.0002056/0.2058, allocations: 115.2 kB / 0.6258 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.2063, allocations: 212.9 kB / 0.626 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2063, allocations: 0 / 0.626 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.2065, allocations: 59.95 kB / 0.626 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.2068, allocations: 11.7 kB / 0.6261 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.2074, allocations: 244.2 kB / 0.6263 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.88e-05/0.2075, allocations: 89.39 kB / 0.6264 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.807e-05/0.2075, allocations: 7.984 kB / 0.6264 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.2076, allocations: 16.48 kB / 0.6264 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.2076, allocations: 0 / 0.6264 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.004978/0.2126, allocations: 1.466 MB / 0.6278 GB, free: 8.695 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.450623523909599] Failed to read output from testmodel.py, exit status != 0: 0.22169547295197845 0.23800026800000001 0.037746143 Calling exit ...