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.0007252/0.0007252, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009285/0.001654, 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.000684/0.000684, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009279/0.001612, 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 0.9561/0.9561, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08539/1.041, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8253/0.8253, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 NFInstanceAPI.mkTop(): time 0.2872/1.112, allocations: 49.05 MB / 447.8 MB, free: 6.582 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/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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 449.1 MB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.828e-05, allocations: 4.141 kB / 449.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002906/0.002934, allocations: 1.66 MB / 450.8 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003952, allocations: 0.6273 MB / 451.4 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.004024, allocations: 7.938 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.263e-05/0.004106, allocations: 13.08 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.004185, allocations: 16.08 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.00455, allocations: 102.1 kB / 451.5 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.004708, allocations: 97.62 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.004803, allocations: 18.08 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.004963, allocations: 79.75 kB / 451.7 MB, free: 2.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.005035, allocations: 35.89 kB / 451.8 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.005055, allocations: 8 kB / 451.8 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.005219, allocations: 104.7 kB / 451.9 MB, free: 2.605 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.005265, allocations: 15.94 kB / 451.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.005299, allocations: 21.22 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.005469, allocations: 123.6 kB / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.005482, allocations: 0 / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005482, allocations: 0 / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.005497, allocations: 0.8125 kB / 452 MB, free: 2.449 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.0006034/0.006101, allocations: 368.6 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.006149, allocations: 12.03 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.00637, allocations: 111.2 kB / 452.5 MB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.006532, allocations: 138.2 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.006544, allocations: 4.375 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.006563, allocations: 13.81 kB / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006716, allocations: 85.72 kB / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006726, allocations: 192 / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.006736, allocations: 1.484 kB / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.00676, allocations: 7.938 kB / 452.8 MB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.092e-05/0.006791, allocations: 8.594 kB / 452.8 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.007154, allocations: 207.2 kB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.007241, allocations: 84.23 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.007264, allocations: 13.64 kB / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.007279, allocations: 0 / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.007405, allocations: 83.56 kB / 453.1 MB, free: 1.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.007406, allocations: 0 / 453.1 MB, free: 1.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001371/0.007543, allocations: 65.67 kB / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.007574, allocations: 52.25 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.007654, allocations: 150.7 kB / 453.4 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.007667, allocations: 29.64 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.00771, allocations: 93 kB / 453.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.007731, allocations: 35.72 kB / 453.6 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.007768, allocations: 22.33 kB / 453.6 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.00785, allocations: 326.8 kB / 453.9 MB, free: 420 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.00789, allocations: 41.16 kB / 453.9 MB, free: 372 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.00792, allocations: 40.91 kB / 454 MB, free: 328 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.007987, allocations: 72.23 kB / 454.1 MB, free: 244 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.007995, allocations: 0 / 454.1 MB, free: 244 kB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001067/0.008102, allocations: 135 kB / 454.2 MB, free: 92 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.008134, allocations: 37.69 kB / 454.2 MB, free: 48 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.008139, allocations: 0 / 454.2 MB, free: 48 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.008151, allocations: 0 / 454.2 MB, free: 48 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.008233, allocations: 15.98 kB / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.008236, allocations: 8.062 kB / 454.2 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.008294, allocations: 25.09 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.008302, allocations: 0 / 454.3 MB, free: 0 / 426.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 7.263e-05/0.008374, allocations: 113.5 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.008388, allocations: 11.92 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.008416, allocations: 17.41 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.008427, allocations: 7.984 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.008429, allocations: 0.625 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.008432, allocations: 0.625 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.217e-05/0.008514, allocations: 85.81 kB / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.008516, allocations: 4.625 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.008555, allocations: 16.59 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.008568, allocations: 12.45 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.008569, allocations: 0.625 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.008577, allocations: 7.984 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.008578, allocations: 0.9375 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008579, allocations: 0 / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.605e-05/0.008675, allocations: 96.27 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.008693, allocations: 7.922 kB / 454.6 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.008731, allocations: 11.94 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.008773, allocations: 17.14 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.008777, allocations: 0.9062 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.008805, allocations: 35.06 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008805, allocations: 1 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.008981, allocations: 39.94 kB / 454.7 MB, free: 15.48 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.0001385/0.009119, allocations: 101 kB / 454.8 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.009261, allocations: 123.2 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.009268, allocations: 4 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.009314, allocations: 33.53 kB / 455 MB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.009454, allocations: 85.97 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.01028, allocations: 231.9 kB / 455.3 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.024e-05/0.01032, allocations: 64.31 kB / 455.4 MB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.858e-05/0.01035, allocations: 11.75 kB / 455.4 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.01041, allocations: 59.36 kB / 455.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01041, allocations: 0 / 455.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of Templates: time 0.002912/0.01333, allocations: 1.494 MB / 456.9 MB, free: 13.29 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.550012438558042]