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.001175/0.001175, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009442/0.0009442, allocations: 181 kB / 23.36 MB, free: 1.133 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.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.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.7377/0.7377, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 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. " [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.323e-06/1.323e-06, allocations: 0 / 479.9 MB, free: 6.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.308e-05, allocations: 2.969 kB / 479.9 MB, free: 6.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001754/0.001767, allocations: 1.589 MB / 481.5 MB, free: 5.363 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.002578, allocations: 0.6446 MB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.002625, allocations: 4.719 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 7.068e-05/0.002695, allocations: 7.938 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.002743, allocations: 24.69 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.003076, allocations: 109.5 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.00319, allocations: 100 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.003252, allocations: 12.22 kB / 482.4 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.003385, allocations: 72.88 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.003442, allocations: 31.89 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.003458, allocations: 8.781 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.00357, allocations: 95.83 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.003607, allocations: 19.92 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.00364, allocations: 32.81 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.003799, allocations: 147.5 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003801, allocations: 0.7188 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003801, allocations: 0 / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.003804, allocations: 1.156 kB / 482.8 MB, free: 4.086 MB / 442.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.0003529/0.004157, allocations: 355.7 kB / 483.2 MB, free: 3.715 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.177e-05/0.004179, allocations: 8.031 kB / 483.2 MB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.00431, allocations: 36.91 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.004419, allocations: 133.6 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.004426, allocations: 1.188 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.004438, allocations: 12.31 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.004553, allocations: 94.47 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.004558, allocations: 192 / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.004565, allocations: 1.031 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.004582, allocations: 7.938 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.062e-05/0.004613, allocations: 13.23 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.00485, allocations: 197.8 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.004911, allocations: 79 kB / 483.8 MB, free: 3.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.004932, allocations: 13.89 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.004941, allocations: 0 / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.508e-05/0.005027, allocations: 90.92 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 8.22e-07/0.005027, allocations: 0 / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001053/0.005133, allocations: 69.28 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.005156, allocations: 55.39 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.005219, allocations: 147.2 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.005237, allocations: 29.7 kB / 484.1 MB, free: 2.641 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.005272, allocations: 96.69 kB / 484.2 MB, free: 2.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.005289, allocations: 28.52 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.005321, allocations: 25.64 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.005388, allocations: 327.4 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.005419, allocations: 44.52 kB / 484.7 MB, free: 2.105 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.005445, allocations: 37.06 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.005497, allocations: 64.81 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005498, allocations: 0 / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.373e-05/0.005582, allocations: 129.5 kB / 484.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.005601, allocations: 38.5 kB / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.005604, allocations: 0 / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.002e-06/0.00561, allocations: 0 / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.005668, allocations: 17.77 kB / 484.9 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.005671, allocations: 4 kB / 484.9 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.00572, allocations: 23.94 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.005729, allocations: 4.547 kB / 485 MB, free: 1.758 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 5.076e-05/0.005779, allocations: 113.7 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.005798, allocations: 11.92 kB / 485.1 MB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.005816, allocations: 16.78 kB / 485.1 MB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.005826, allocations: 9.484 kB / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005827, allocations: 0 / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.00583, allocations: 0 / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.324e-05/0.005903, allocations: 93.69 kB / 485.2 MB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005904, allocations: 1.75 kB / 485.2 MB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.005935, allocations: 11.98 kB / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.005937, allocations: 3.938 kB / 485.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.005943, allocations: 4 kB / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.005944, allocations: 4.766 kB / 485.2 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005945, allocations: 0 / 485.2 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.578e-05/0.006021, allocations: 95.72 kB / 485.3 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.006029, allocations: 7.953 kB / 485.3 MB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.006044, allocations: 7.938 kB / 485.3 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.006079, allocations: 8.766 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.006111, allocations: 15.97 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.006117, allocations: 5.906 kB / 485.4 MB, free: 1.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.674e-05/0.006144, allocations: 25.58 kB / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006144, allocations: 0 / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000131/0.006275, allocations: 39.95 kB / 485.4 MB, free: 1.246 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 9.746e-05/0.006372, allocations: 101.1 kB / 485.5 MB, free: 1.141 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.006482, allocations: 130.6 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.006486, allocations: 8 kB / 485.7 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.006518, allocations: 22.12 kB / 485.7 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.259e-05/0.006591, allocations: 19.92 kB / 485.7 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.006949, allocations: 223.1 kB / 485.9 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.7e-05/0.006976, allocations: 67.34 kB / 486 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.007009, allocations: 10.42 kB / 486 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.007065, allocations: 60 kB / 486.1 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of SimCode: time 3e-07/0.007065, allocations: 0 / 486.1 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of Templates: time 0.002835/0.0099, allocations: 1.479 MB / 487.5 MB, free: 15.16 MB / 458.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.5218379367142916]