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.0007374/0.0007374, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009537/0.001691, 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.00164/0.00164, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.003249, 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 1.06/1.06, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.168, 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/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.8046/0.8046, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2938/1.098, allocations: 49.04 MB / 447.6 MB, free: 6.695 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.403e-06/1.403e-06, allocations: 0 / 448.8 MB, free: 5.449 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.47e-05, allocations: 3.578 kB / 448.8 MB, free: 5.445 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002749/0.002773, allocations: 1.641 MB / 450.5 MB, free: 3.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.00367, allocations: 0.6353 MB / 451.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.003729, allocations: 0.8438 kB / 451.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.545e-05/0.003795, allocations: 12.84 kB / 451.1 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.003837, allocations: 25.11 kB / 451.2 MB, free: 3.176 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.004127, allocations: 96.83 kB / 451.2 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.00429, allocations: 98.72 kB / 451.3 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.004373, allocations: 24.83 kB / 451.4 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.004527, allocations: 77.25 kB / 451.4 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.004594, allocations: 35.89 kB / 451.5 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.004611, allocations: 4 kB / 451.5 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.004757, allocations: 103.9 kB / 451.6 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.004795, allocations: 12.44 kB / 451.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.004827, allocations: 21.94 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.004994, allocations: 131.5 kB / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.005009, allocations: 0 / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00501, allocations: 0 / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.005026, allocations: 0 / 451.7 MB, free: 2.594 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.000636/0.005662, allocations: 373.9 kB / 452.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.005699, allocations: 8.031 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.005947, allocations: 106 kB / 452.2 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.006135, allocations: 134.5 kB / 452.4 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.006147, allocations: 5.094 kB / 452.4 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.006162, allocations: 6.344 kB / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.00635, allocations: 93.66 kB / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.006359, allocations: 192 / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.006369, allocations: 4.312 kB / 452.5 MB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.006405, allocations: 9.344 kB / 452.5 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.306e-05/0.006458, allocations: 16.62 kB / 452.5 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.006842, allocations: 204.9 kB / 452.7 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.006934, allocations: 82.39 kB / 452.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.006962, allocations: 12.92 kB / 452.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.006977, allocations: 4 kB / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.00712, allocations: 74.06 kB / 452.9 MB, free: 1.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.007121, allocations: 0 / 452.9 MB, free: 1.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001749/0.007296, allocations: 74.23 kB / 452.9 MB, free: 1.293 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.007334, allocations: 55.41 kB / 453 MB, free: 1.227 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.007437, allocations: 147.6 kB / 453.1 MB, free: 1.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.007455, allocations: 25.7 kB / 453.2 MB, free: 1.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.007503, allocations: 92.12 kB / 453.2 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.007528, allocations: 33.59 kB / 453.3 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.007577, allocations: 29.69 kB / 453.3 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.007667, allocations: 322.8 kB / 453.6 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.007719, allocations: 40.47 kB / 453.7 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.007762, allocations: 45.69 kB / 453.7 MB, free: 468 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.217e-05/0.007844, allocations: 68.23 kB / 453.8 MB, free: 392 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.007847, allocations: 0 / 453.8 MB, free: 392 kB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001421/0.007989, allocations: 130 kB / 453.9 MB, free: 244 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.008032, allocations: 41.64 kB / 453.9 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.008039, allocations: 4.984 kB / 453.9 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.008048, allocations: 0 / 453.9 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.008164, allocations: 19.98 kB / 454 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008169, allocations: 8.688 kB / 454 MB, free: 164 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.084e-05/0.00825, allocations: 21.19 kB / 454 MB, free: 144 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.008263, allocations: 4 kB / 454 MB, free: 140 kB / 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.91e-05/0.008342, allocations: 114.2 kB / 454.1 MB, free: 16 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.008363, allocations: 15.92 kB / 454.1 MB, free: 0 / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.008404, allocations: 10 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.008419, allocations: 7.984 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.008421, allocations: 0 / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008425, allocations: 1.062 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.008531, allocations: 85.88 kB / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.008534, allocations: 0 / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.008605, allocations: 20.88 kB / 454.2 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.008621, allocations: 17.38 kB / 454.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008623, allocations: 0.7188 kB / 454.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.008632, allocations: 3.984 kB / 454.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008634, allocations: 0.5938 kB / 454.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008635, allocations: 0 / 454.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.008768, allocations: 92.2 kB / 454.4 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.008793, allocations: 7.922 kB / 454.4 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.008861, allocations: 8 kB / 454.4 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.008918, allocations: 16.75 kB / 454.4 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.008926, allocations: 0 / 454.4 MB, free: 15.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.008961, allocations: 34.2 kB / 454.4 MB, free: 15.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008962, allocations: 0 / 454.4 MB, free: 15.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.009177, allocations: 43.92 kB / 454.5 MB, free: 15.62 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.0001549/0.009332, allocations: 101.2 kB / 454.6 MB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.009499, allocations: 129.9 kB / 454.7 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.009506, allocations: 0.7188 kB / 454.7 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.009556, allocations: 25.56 kB / 454.7 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.009686, allocations: 26.8 kB / 454.7 MB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.01089, allocations: 233.7 kB / 455 MB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.705e-05/0.01092, allocations: 63.34 kB / 455 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.393e-05/0.01098, allocations: 6.484 kB / 455 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.01106, allocations: 63.98 kB / 455.1 MB, free: 14.92 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01106, allocations: 0 / 455.1 MB, free: 14.92 MB / 442.7 MB Notification: Performance of Templates: time 0.00345/0.01451, allocations: 1.499 MB / 456.6 MB, free: 13.51 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.8995328480377793]