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.001402/0.001402, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001841/0.001841, allocations: 173 kB / 23.49 MB, free: 1.059 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.9956/0.9956, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.8129/0.8129, allocations: 154.8 MB / 415.1 MB, free: 500 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 2.024e-06/2.024e-06, allocations: 0 / 0.5205 GB, free: 2.352 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.281e-05/4.483e-05, allocations: 6.031 kB / 0.5205 GB, free: 2.348 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.00373/0.003775, allocations: 1.586 MB / 0.5221 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00097/0.004745, allocations: 0.6216 MB / 0.5227 GB, free: 148 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.004821, allocations: 5.406 kB / 0.5227 GB, free: 144 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.004939, allocations: 15.86 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.004982, allocations: 15.81 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.005434, allocations: 105 kB / 0.5228 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.005596, allocations: 107.6 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.005715, allocations: 5.578 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.005909, allocations: 75.8 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.005985, allocations: 27.97 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.006013, allocations: 10.66 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.006131, allocations: 103.7 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.006179, allocations: 15.92 kB / 0.5232 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.006236, allocations: 35.89 kB / 0.5232 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.006461, allocations: 143.6 kB / 0.5233 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.006466, allocations: 0 / 0.5233 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.874e-06/0.006467, allocations: 0 / 0.5233 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.006473, allocations: 0 / 0.5233 GB, free: 15.49 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.0006371/0.00711, allocations: 479.3 kB / 0.5238 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.007159, allocations: 8.031 kB / 0.5238 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.00735, allocations: 30.47 kB / 0.5238 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.007536, allocations: 152.4 kB / 0.524 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.00755, allocations: 4.375 kB / 0.524 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.007564, allocations: 5.312 kB / 0.524 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.007749, allocations: 90.83 kB / 0.5241 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.007758, allocations: 1.594 kB / 0.5241 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.007772, allocations: 4.375 kB / 0.5241 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.007805, allocations: 7.938 kB / 0.5241 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.007857, allocations: 11.98 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.008309, allocations: 328.8 kB / 0.5244 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.825e-05/0.008407, allocations: 43.67 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.008445, allocations: 23.69 kB / 0.5245 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.008459, allocations: 1.281 kB / 0.5245 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.008595, allocations: 77.02 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.008597, allocations: 0 / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002345/0.008832, allocations: 94.69 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.008869, allocations: 51.41 kB / 0.5247 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.008984, allocations: 201.3 kB / 0.5249 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.008999, allocations: 32.95 kB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.009066, allocations: 146.8 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.009085, allocations: 27.75 kB / 0.5251 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.009128, allocations: 39.42 kB / 0.5251 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.009247, allocations: 0.4961 MB / 0.5256 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.0093, allocations: 45.62 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.009339, allocations: 41.69 kB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.737e-05/0.009416, allocations: 65.44 kB / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.009418, allocations: 0 / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001523/0.009571, allocations: 159.8 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.009599, allocations: 29.7 kB / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.009606, allocations: 0 / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.009619, allocations: 0 / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.009706, allocations: 23.98 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.009711, allocations: 0 / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.009767, allocations: 17.44 kB / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.009777, allocations: 0 / 0.526 GB, free: 12.56 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.544e-05/0.009862, allocations: 164.5 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.009877, allocations: 11.95 kB / 0.5261 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.009903, allocations: 17.27 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.009916, allocations: 4.5 kB / 0.5262 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.00992, allocations: 2.188 kB / 0.5262 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.009923, allocations: 0 / 0.5262 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.01003, allocations: 152.5 kB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01003, allocations: 3.984 kB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.01007, allocations: 11.94 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01007, allocations: 3.984 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.01008, allocations: 2.438 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.01008, allocations: 3.938 kB / 0.5263 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01008, allocations: 4 kB / 0.5263 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.01021, allocations: 120.3 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.01023, allocations: 19.83 kB / 0.5265 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.01025, allocations: 0 / 0.5265 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.01029, allocations: 14.05 kB / 0.5265 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.01034, allocations: 15.97 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.01035, allocations: 0 / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.0104, allocations: 147.2 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0104, allocations: 0 / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001524/0.01056, allocations: 36 kB / 0.5267 GB, free: 11.78 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.0001543/0.01071, allocations: 116.2 kB / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.01089, allocations: 141.6 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01089, allocations: 0 / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.01094, allocations: 25.23 kB / 0.5269 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.01111, allocations: 26.08 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.01171, allocations: 228.5 kB / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.01175, allocations: 64.19 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.931e-05/0.01179, allocations: 9.359 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.01183, allocations: 20.48 kB / 0.5273 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.01183, allocations: 1.094 kB / 0.5273 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.00356/0.01539, allocations: 1.488 MB / 0.5287 GB, free: 9.672 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: 4.123304367996752]