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.001104/0.001104, allocations: 80.94 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.001147/0.001147, allocations: 173 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8548/0.8548, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.723e-06/1.723e-06, allocations: 0 / 480 MB, free: 6.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.158e-05, allocations: 3.031 kB / 480 MB, free: 6.957 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003045/0.003067, allocations: 1.629 MB / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.004115, allocations: 0.6449 MB / 482.3 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.004181, allocations: 0.6562 kB / 482.3 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.004304, allocations: 12.62 kB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.004365, allocations: 17.28 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.004821, allocations: 103.3 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.005, allocations: 102.2 kB / 482.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.005094, allocations: 12.22 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.005273, allocations: 63.81 kB / 482.6 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.005349, allocations: 43.88 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.005369, allocations: 4 kB / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.005543, allocations: 107.8 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.005585, allocations: 19.92 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.005625, allocations: 28.59 kB / 482.8 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.005817, allocations: 147.5 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005819, allocations: 0.9062 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00582, allocations: 0 / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.005826, allocations: 4.906 kB / 482.9 MB, free: 4.074 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.0005145/0.006341, allocations: 351 kB / 483.3 MB, free: 3.707 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.006376, allocations: 12.02 kB / 483.3 MB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.006564, allocations: 29.53 kB / 483.3 MB, free: 3.668 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.00675, allocations: 138.2 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.006766, allocations: 8.359 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.006778, allocations: 5.031 kB / 483.5 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.006947, allocations: 86.2 kB / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.006955, allocations: 0.75 kB / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.006965, allocations: 4.375 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.006992, allocations: 16.55 kB / 483.6 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.00703, allocations: 19.88 kB / 483.6 MB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.00736, allocations: 198.7 kB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.111e-05/0.007441, allocations: 75.8 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.007466, allocations: 20.84 kB / 483.9 MB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.00748, allocations: 4.719 kB / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.007599, allocations: 78.92 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.007601, allocations: 0 / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001504/0.007751, allocations: 73.61 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.007786, allocations: 56.41 kB / 484.1 MB, free: 2.812 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.007867, allocations: 138.7 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.007883, allocations: 30.33 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.007928, allocations: 96.06 kB / 484.3 MB, free: 2.531 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.007944, allocations: 29.08 kB / 484.4 MB, free: 2.504 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.007987, allocations: 29.69 kB / 484.4 MB, free: 2.469 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.008074, allocations: 322.8 kB / 484.7 MB, free: 2.145 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.008119, allocations: 36.53 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.008152, allocations: 46.19 kB / 484.8 MB, free: 2.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.008222, allocations: 73.33 kB / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.008224, allocations: 0 / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001176/0.008341, allocations: 129 kB / 485 MB, free: 1.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.008369, allocations: 29.7 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.008375, allocations: 5.062 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.008387, allocations: 0 / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.008478, allocations: 20.64 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.008481, allocations: 0 / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.008542, allocations: 16.84 kB / 485.1 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.008554, allocations: 7.984 kB / 485.1 MB, free: 1.746 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 7.705e-05/0.008631, allocations: 121.2 kB / 485.2 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.008645, allocations: 9.375 kB / 485.2 MB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.008673, allocations: 16.77 kB / 485.2 MB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.008685, allocations: 4 kB / 485.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.008688, allocations: 4.781 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008692, allocations: 0 / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.909e-05/0.008791, allocations: 89.8 kB / 485.3 MB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008793, allocations: 2 kB / 485.3 MB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.008839, allocations: 11.98 kB / 485.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008842, allocations: 3.938 kB / 485.3 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.008849, allocations: 0 / 485.3 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.008851, allocations: 0 / 485.3 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.008853, allocations: 4.719 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.00897, allocations: 98.67 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.008983, allocations: 8.453 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.009001, allocations: 4.531 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.009045, allocations: 17.14 kB / 485.5 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.009089, allocations: 11.98 kB / 485.5 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.009096, allocations: 3.984 kB / 485.5 MB, free: 1.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.009123, allocations: 30.52 kB / 485.5 MB, free: 1.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.009123, allocations: 0 / 485.5 MB, free: 1.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.009287, allocations: 41.36 kB / 485.5 MB, free: 1.23 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.0001297/0.009417, allocations: 104.3 kB / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.009555, allocations: 126.6 kB / 485.8 MB, free: 0.9766 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.009562, allocations: 4 kB / 485.8 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.0096, allocations: 25.5 kB / 485.8 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.009724, allocations: 17.83 kB / 485.8 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.01022, allocations: 223 kB / 486 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.01025, allocations: 63.34 kB / 486.1 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.204e-05/0.0103, allocations: 6.781 kB / 486.1 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.23e-05/0.01037, allocations: 75.28 kB / 486.2 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01037, allocations: 0 / 486.2 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of Templates: time 0.00341/0.01378, allocations: 1.476 MB / 487.6 MB, free: 15.14 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8245827490463853]