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.001009/0.001009, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001202/0.001202, allocations: 169 kB / 23.02 MB, free: 1.551 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.001/1.001, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.76/0.76, allocations: 154.9 MB / 414.8 MB, free: 420 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.894e-06/1.894e-06, allocations: 0 / 0.5206 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.073e-05, allocations: 8.312 kB / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002481/0.002512, allocations: 1.598 MB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.00353, allocations: 0.6249 MB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.0036, allocations: 1.75 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.003711, allocations: 7.875 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.137e-05/0.003772, allocations: 23.78 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.004252, allocations: 108.4 kB / 0.523 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.004412, allocations: 101 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.004506, allocations: 16.22 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.00469, allocations: 59.88 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.004767, allocations: 37.23 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.004788, allocations: 8 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.004944, allocations: 103.8 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.004989, allocations: 19.92 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.005036, allocations: 25.48 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.005257, allocations: 147.5 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.00526, allocations: 0 / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00526, allocations: 0 / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005265, allocations: 2.406 kB / 0.5234 GB, free: 15.02 MB / 0.4948 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.0006489/0.005914, allocations: 485.7 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.005957, allocations: 8.031 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.006181, allocations: 32.88 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.006367, allocations: 145 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.006379, allocations: 0.9375 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.006395, allocations: 8.375 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.006598, allocations: 83.78 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.006609, allocations: 5.656 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.006622, allocations: 4.359 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.006651, allocations: 7.938 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.006708, allocations: 19.92 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.007189, allocations: 320.6 kB / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.007294, allocations: 48.45 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.007335, allocations: 19.62 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.007349, allocations: 0 / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.00748, allocations: 85.14 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.007482, allocations: 1.094 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002411/0.007723, allocations: 89.56 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.00776, allocations: 55.41 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.007878, allocations: 201.8 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.007894, allocations: 25.7 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.00796, allocations: 152.1 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.007984, allocations: 27.75 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.008037, allocations: 31.36 kB / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.008165, allocations: 0.5006 MB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.00823, allocations: 42.75 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.732e-05/0.008277, allocations: 41.64 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.008366, allocations: 69.38 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008368, allocations: 3.25 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001915/0.00856, allocations: 149.1 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.008591, allocations: 37.69 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.008596, allocations: 0 / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.008609, allocations: 3.938 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.008711, allocations: 19.98 kB / 0.5261 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.008717, allocations: 0 / 0.5261 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.008794, allocations: 19.94 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.008807, allocations: 7.031 kB / 0.5261 GB, free: 12.07 MB / 0.4948 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 8.398e-05/0.008891, allocations: 160.5 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.008913, allocations: 11.95 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.008943, allocations: 16.77 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.008955, allocations: 4 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.00896, allocations: 3.984 kB / 0.5263 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.008963, allocations: 0 / 0.5263 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.00908, allocations: 146 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009081, allocations: 0 / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.009134, allocations: 11.98 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.009136, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.009149, allocations: 12.48 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.00915, allocations: 4.438 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009151, allocations: 0 / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.009314, allocations: 122.7 kB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.009331, allocations: 11.89 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.009354, allocations: 0 / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.009409, allocations: 11.98 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.009465, allocations: 11.98 kB / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.009476, allocations: 7.922 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.009537, allocations: 146.2 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009537, allocations: 0 / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002381/0.009775, allocations: 36 kB / 0.5268 GB, free: 11.31 MB / 0.4948 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.0001588/0.009934, allocations: 123.1 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.01013, allocations: 138.5 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01013, allocations: 0 / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.01019, allocations: 32.33 kB / 0.5271 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.01039, allocations: 25.62 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.01103, allocations: 214.2 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.01107, allocations: 67.28 kB / 0.5273 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.869e-05/0.01113, allocations: 13.27 kB / 0.5274 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.01117, allocations: 20.48 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01117, allocations: 0 / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.00405/0.01522, allocations: 1.606 MB / 0.5289 GB, free: 9.094 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8693174007348716]