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.0008127/0.0008127, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001874, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006943/0.0006943, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009111/0.001605, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.078/1.078, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09708/1.175, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8172/0.8172, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2931/1.11, allocations: 49.14 MB / 448.6 MB, free: 5.91 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.245e-06/2.245e-06, allocations: 0 / 449.9 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.072e-05, allocations: 3.188 kB / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003793/0.003824, allocations: 1.646 MB / 451.6 MB, free: 3.016 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.005157, allocations: 0.6389 MB / 452.2 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.005241, allocations: 0 / 452.2 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.823e-05/0.005329, allocations: 12.45 kB / 452.2 MB, free: 2.371 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.00541, allocations: 30.06 kB / 452.2 MB, free: 2.352 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.005951, allocations: 92.41 kB / 452.3 MB, free: 2.262 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.006202, allocations: 107.3 kB / 452.4 MB, free: 2.176 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.006325, allocations: 14 kB / 452.5 MB, free: 2.16 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.006632, allocations: 79.8 kB / 452.5 MB, free: 2.082 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.006741, allocations: 31.89 kB / 452.6 MB, free: 2.051 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.006768, allocations: 8 kB / 452.6 MB, free: 2.043 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.007003, allocations: 103.8 kB / 452.7 MB, free: 1.941 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.007054, allocations: 12.81 kB / 452.7 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.007102, allocations: 23.92 kB / 452.7 MB, free: 1.906 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.00737, allocations: 128.9 kB / 452.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.007385, allocations: 0 / 452.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.007387, allocations: 0 / 452.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.007398, allocations: 0 / 452.8 MB, free: 1.781 MB / 426.7 MB 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.0007759/0.008173, allocations: 369.8 kB / 453.2 MB, free: 1.395 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.008216, allocations: 8.031 kB / 453.2 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.008534, allocations: 106.6 kB / 453.3 MB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.008738, allocations: 143.2 kB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.008753, allocations: 4.875 kB / 453.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.008774, allocations: 6.062 kB / 453.5 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.009021, allocations: 85.72 kB / 453.5 MB, free: 1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.009033, allocations: 4.125 kB / 453.5 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.009045, allocations: 384 / 453.5 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.009079, allocations: 8.781 kB / 453.6 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.00914, allocations: 19.92 kB / 453.6 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.009726, allocations: 210.9 kB / 453.8 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.009868, allocations: 75.03 kB / 453.9 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.009913, allocations: 20.91 kB / 453.9 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.009937, allocations: 4.656 kB / 453.9 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.01015, allocations: 69.08 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 4.909e-06/0.01016, allocations: 0.9375 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002245/0.01038, allocations: 73.59 kB / 454 MB, free: 492 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.01042, allocations: 59.41 kB / 454.1 MB, free: 420 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.01053, allocations: 146.2 kB / 454.2 MB, free: 264 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01055, allocations: 25.7 kB / 454.2 MB, free: 232 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.0106, allocations: 96.11 kB / 454.3 MB, free: 132 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.01063, allocations: 31.72 kB / 454.4 MB, free: 100 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.01068, allocations: 26.61 kB / 454.4 MB, free: 68 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.01079, allocations: 322.8 kB / 454.7 MB, free: 15.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.01085, allocations: 41.39 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.0109, allocations: 40.44 kB / 454.8 MB, free: 15.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.01099, allocations: 76.11 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01099, allocations: 1.062 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001705/0.01116, allocations: 125.1 kB / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.01121, allocations: 42.27 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.01121, allocations: 0 / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.01123, allocations: 0.5938 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.01136, allocations: 28.56 kB / 455.1 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.01136, allocations: 0 / 455.1 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.01144, allocations: 16.48 kB / 455.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01146, allocations: 8.547 kB / 455.1 MB, free: 15.33 MB / 442.7 MB 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.0001007/0.01156, allocations: 113.2 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.01158, allocations: 12.81 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.01162, allocations: 12.77 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.01163, allocations: 5.516 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01163, allocations: 0 / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01164, allocations: 1.688 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.01177, allocations: 89.86 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01178, allocations: 0 / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.01185, allocations: 15.98 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.01187, allocations: 16.78 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01187, allocations: 0 / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01189, allocations: 7.984 kB / 455.3 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01189, allocations: 0.5312 kB / 455.3 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01189, allocations: 0.625 kB / 455.4 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.01246, allocations: 90.7 kB / 455.4 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01249, allocations: 9.031 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.01257, allocations: 13.86 kB / 455.5 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.01262, allocations: 13.2 kB / 455.5 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.01263, allocations: 3.984 kB / 455.5 MB, free: 14.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.01267, allocations: 28.83 kB / 455.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01267, allocations: 1.188 kB / 455.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000227/0.0129, allocations: 35.94 kB / 455.5 MB, free: 14.82 MB / 442.7 MB 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.0001832/0.01308, allocations: 109.4 kB / 455.6 MB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.01325, allocations: 129.9 kB / 455.8 MB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.01326, allocations: 1.125 kB / 455.8 MB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.01332, allocations: 25 kB / 455.8 MB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.0135, allocations: 90.16 kB / 455.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.01466, allocations: 233.5 kB / 456.1 MB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.01471, allocations: 72.36 kB / 456.2 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.319e-05/0.01476, allocations: 7.25 kB / 456.2 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.01484, allocations: 68.14 kB / 456.3 MB, free: 14.02 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01484, allocations: 0 / 456.3 MB, free: 14.02 MB / 442.7 MB Notification: Performance of Templates: time 0.003362/0.0182, allocations: 1.48 MB / 457.7 MB, free: 12.64 MB / 442.7 MB " [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.6308613447472453]