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.0009551/0.0009551, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002149, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008532/0.0008532, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008921/0.001745, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9585/0.9585, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09783/1.056, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7596/0.7596, allocations: 155.3 MB / 399.2 MB, free: 15.95 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.3265/1.086, allocations: 49.14 MB / 448.4 MB, free: 6.039 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.645e-06/2.645e-06, allocations: 0 / 449.6 MB, free: 4.797 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.366e-05/4.631e-05, allocations: 4.969 kB / 449.7 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003839/0.003886, allocations: 1.64 MB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.005054, allocations: 0.6401 MB / 451.9 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.005128, allocations: 3.938 kB / 451.9 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.299e-05/0.005221, allocations: 7.922 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.005284, allocations: 24.8 kB / 452 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.005697, allocations: 101 kB / 452.1 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.005894, allocations: 101.2 kB / 452.2 MB, free: 2.328 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.005987, allocations: 9.891 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.006234, allocations: 91.42 kB / 452.3 MB, free: 2.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.006325, allocations: 27.95 kB / 452.3 MB, free: 2.203 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.006352, allocations: 11.94 kB / 452.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.006567, allocations: 101.9 kB / 452.4 MB, free: 2.094 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.006622, allocations: 15.94 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.006672, allocations: 19.94 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.006957, allocations: 119.6 kB / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-05/0.006984, allocations: 0 / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.006987, allocations: 2.125 kB / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.264e-05/0.007019, allocations: 4 kB / 452.6 MB, free: 1.938 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.0009212/0.00794, allocations: 371.8 kB / 452.9 MB, free: 1.547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.007993, allocations: 12.03 kB / 452.9 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.008297, allocations: 106.7 kB / 453 MB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.008512, allocations: 139.6 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.008528, allocations: 4.375 kB / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.008544, allocations: 4.375 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.008767, allocations: 93.64 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.008784, allocations: 0.8125 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.008801, allocations: 384 / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.008852, allocations: 14.75 kB / 453.3 MB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.339e-05/0.008906, allocations: 15.92 kB / 453.3 MB, free: 1.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.009369, allocations: 205.8 kB / 453.5 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.009483, allocations: 72.56 kB / 453.6 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.009519, allocations: 16.92 kB / 453.6 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.009536, allocations: 0 / 453.6 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.009723, allocations: 78.19 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.474e-06/0.009726, allocations: 0.9062 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002521/0.009978, allocations: 73.61 kB / 453.7 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.01004, allocations: 52.41 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.01017, allocations: 143.5 kB / 453.9 MB, free: 428 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.0102, allocations: 33.69 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.01026, allocations: 93 kB / 454.1 MB, free: 292 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.01029, allocations: 27.73 kB / 454.1 MB, free: 264 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.01035, allocations: 34.12 kB / 454.1 MB, free: 224 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.01052, allocations: 323.3 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.0106, allocations: 40.62 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.01064, allocations: 48.19 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.678e-05/0.01073, allocations: 68.17 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01073, allocations: 1 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002017/0.01093, allocations: 131.7 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.011, allocations: 37.69 kB / 454.8 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.01101, allocations: 0.625 kB / 454.8 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01103, allocations: 1.312 kB / 454.8 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01117, allocations: 19.98 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01118, allocations: 0 / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01129, allocations: 24.38 kB / 454.8 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.0113, allocations: 1.984 kB / 454.8 MB, free: 15.49 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.0001226/0.01143, allocations: 120.7 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.01145, allocations: 7.938 kB / 454.9 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.0115, allocations: 17.83 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.01153, allocations: 8 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.01153, allocations: 0 / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.01154, allocations: 1.609 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.01171, allocations: 85.86 kB / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01171, allocations: 0.9062 kB / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.0118, allocations: 23.91 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.01183, allocations: 8.484 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.01183, allocations: 7.938 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01184, allocations: 1.438 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01185, allocations: 0 / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01185, allocations: 0 / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01204, allocations: 94.75 kB / 455.2 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.01208, allocations: 8.703 kB / 455.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.01215, allocations: 13.42 kB / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.01221, allocations: 18.45 kB / 455.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.01222, allocations: 0 / 455.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.01227, allocations: 34.31 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01227, allocations: 0.8438 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.01257, allocations: 39.94 kB / 455.3 MB, free: 14.96 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.0002563/0.01283, allocations: 97.91 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.01308, allocations: 125.9 kB / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/0.0131, allocations: 4.656 kB / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.01316, allocations: 24.83 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01334, allocations: 25.14 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.01454, allocations: 234 kB / 455.8 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.01459, allocations: 67.2 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.837e-05/0.01465, allocations: 12.14 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.01474, allocations: 60 kB / 455.9 MB, free: 14.25 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01474, allocations: 0 / 455.9 MB, free: 14.25 MB / 442.7 MB Notification: Performance of Templates: time 0.00415/0.01889, allocations: 1.499 MB / 457.4 MB, free: 12.85 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.691741899587214]