Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3436/0.3436, allocations: 54.41 MB / 61.89 MB, free: 13.7 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001535/0.001535, allocations: 182.9 kB / 75.61 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.7/1.7, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001666/0.001666, allocations: 109.8 kB / 341.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.923e-05, allocations: 8.219 kB / 405.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3843, allocations: 57.65 MB / 463.1 MB, free: 51.68 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.5095, allocations: 86.04 MB / 0.5363 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.5097, allocations: 71.95 kB / 0.5364 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006136/0.5159, allocations: 1.852 MB / 0.5382 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5159, allocations: 0 / 0.5382 GB, free: 13.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.5159, allocations: 4 kB / 0.5382 GB, free: 13.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007881/0.5167, allocations: 478 kB / 0.5387 GB, free: 12.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.5168, allocations: 8.031 kB / 0.5387 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.5169, allocations: 7.906 kB / 0.5387 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.5172, allocations: 200.2 kB / 0.5389 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.5172, allocations: 3.953 kB / 0.5389 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.5173, allocations: 8 kB / 0.5389 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002146/0.5175, allocations: 55.98 kB / 0.5389 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.5177, allocations: 102.2 kB / 0.539 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5177, allocations: 0 / 0.539 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.5178, allocations: 4 kB / 0.539 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.5178, allocations: 0 / 0.539 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.5185, allocations: 341.8 kB / 0.5394 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.5187, allocations: 86.56 kB / 0.5394 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.5188, allocations: 72.89 kB / 0.5395 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.5188, allocations: 0 / 0.5395 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.5191, allocations: 119.1 kB / 0.5396 GB, free: 11.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.5191, allocations: 0 / 0.5396 GB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003582/0.5194, allocations: 142.6 kB / 0.5398 GB, free: 11.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.5195, allocations: 93.09 kB / 0.5398 GB, free: 11.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.5197, allocations: 117 kB / 0.54 GB, free: 11.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.5197, allocations: 33.7 kB / 0.54 GB, free: 11.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.5198, allocations: 103 kB / 0.5401 GB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.5198, allocations: 27.56 kB / 0.5401 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.5198, allocations: 0 / 0.5401 GB, free: 11.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.52, allocations: 330.8 kB / 0.5404 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.5201, allocations: 51.97 kB / 0.5405 GB, free: 10.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/0.5202, allocations: 55.92 kB / 0.5405 GB, free: 10.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.731e-05/0.5203, allocations: 51.53 kB / 0.5406 GB, free: 10.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5203, allocations: 0 / 0.5406 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002613/0.5205, allocations: 159.3 kB / 0.5407 GB, free: 10.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/0.5206, allocations: 71.39 kB / 0.5408 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5206, allocations: 0 / 0.5408 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5206, allocations: 0.5625 kB / 0.5408 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.5208, allocations: 31.97 kB / 0.5408 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.5208, allocations: 4 kB / 0.5408 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.521, allocations: 31.91 kB / 0.5409 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.5211, allocations: 7.984 kB / 0.5409 GB, free: 10.3 MB / 394.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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.5212, allocations: 156 kB / 0.541 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.5212, allocations: 19.75 kB / 0.541 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.5213, allocations: 12.62 kB / 0.5411 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5213, allocations: 0 / 0.5411 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5213, allocations: 1.812 kB / 0.5411 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5213, allocations: 0 / 0.5411 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.5215, allocations: 178.1 kB / 0.5412 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5215, allocations: 4 kB / 0.5412 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5216, allocations: 15.98 kB / 0.5412 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5216, allocations: 8 kB / 0.5412 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.5217, allocations: 7.984 kB / 0.5413 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5217, allocations: 0 / 0.5413 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5217, allocations: 0 / 0.5413 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.522, allocations: 192.8 kB / 0.5414 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.522, allocations: 88.97 kB / 0.5415 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.5221, allocations: 8 kB / 0.5415 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.5223, allocations: 35.95 kB / 0.5416 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5224, allocations: 19.97 kB / 0.5416 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.5224, allocations: 6.5 kB / 0.5416 GB, free: 9.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.5225, allocations: 101.7 kB / 0.5417 GB, free: 9.387 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5225, allocations: 0 / 0.5417 GB, free: 9.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.5227, allocations: 27.91 kB / 0.5417 GB, free: 9.359 MB / 394.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.5228, allocations: 103.2 kB / 0.5418 GB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.5232, allocations: 290.7 kB / 0.5421 GB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5232, allocations: 0 / 0.5421 GB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.5234, allocations: 163.4 kB / 0.5422 GB, free: 8.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.5236, allocations: 12.48 kB / 0.5423 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.5241, allocations: 216.1 kB / 0.5425 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.5244, allocations: 0.7041 MB / 0.5432 GB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.5245, allocations: 18.7 kB / 0.5432 GB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.5245, allocations: 11.44 kB / 0.5432 GB, free: 7.762 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5245, allocations: 0 / 0.5432 GB, free: 7.762 MB / 394.7 MB Notification: Performance of Templates: time 0.003988/0.5285, allocations: 1.38 MB / 0.5445 GB, free: 6.43 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)