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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006901/0.006901, allocations: 103.2 kB / 15.73 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 191.4 kB / 16.67 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3938/0.3938, allocations: 54.95 MB / 324.8 MB, free: 32 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 71.59 kB / 456.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1276, allocations: 59.59 MB / 0.5038 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.00224/0.1298, allocations: 1.551 MB / 0.5053 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.1306, allocations: 0.5055 MB / 0.5058 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.1307, allocations: 5.875 kB / 0.5058 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1308, allocations: 11.86 kB / 0.5058 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.1309, allocations: 17.73 kB / 0.5058 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1311, allocations: 46.75 kB / 0.5059 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1313, allocations: 121.4 kB / 0.506 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1314, allocations: 17.58 kB / 0.506 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1315, allocations: 54.3 kB / 0.5061 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.1316, allocations: 58.64 kB / 0.5061 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1317, allocations: 8.594 kB / 0.5061 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.1317, allocations: 7.75 kB / 0.5061 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.1317, allocations: 20.27 kB / 0.5061 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.1318, allocations: 44.92 kB / 0.5062 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1319, allocations: 91.56 kB / 0.5063 GB, free: 7.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1319, allocations: 1.406 kB / 0.5063 GB, free: 7.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1319, allocations: 0 / 0.5063 GB, free: 7.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.132, allocations: 0 / 0.5063 GB, free: 7.836 MB / 382.1 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.0007077/0.1327, allocations: 487.2 kB / 0.5067 GB, free: 7.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1327, allocations: 10.09 kB / 0.5068 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.1328, allocations: 17.84 kB / 0.5068 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1329, allocations: 210 kB / 0.507 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1329, allocations: 7.438 kB / 0.507 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.133, allocations: 5.406 kB / 0.507 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.1333, allocations: 138.7 kB / 0.5071 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1333, allocations: 0 / 0.5071 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1333, allocations: 1.375 kB / 0.5071 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1333, allocations: 1.375 kB / 0.5071 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.1337, allocations: 123.2 kB / 0.5072 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.1342, allocations: 344.8 kB / 0.5076 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.1345, allocations: 139.2 kB / 0.5077 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.1348, allocations: 100.5 kB / 0.5078 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1348, allocations: 1.406 kB / 0.5078 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.1352, allocations: 147.3 kB / 0.5079 GB, free: 6.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1352, allocations: 4 kB / 0.5079 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007015/0.1359, allocations: 321.5 kB / 0.5082 GB, free: 6.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1359, allocations: 89.11 kB / 0.5083 GB, free: 6.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.136, allocations: 141.8 kB / 0.5085 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.136, allocations: 29.7 kB / 0.5085 GB, free: 5.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.1361, allocations: 108 kB / 0.5086 GB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1361, allocations: 31.55 kB / 0.5086 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.1362, allocations: 29.7 kB / 0.5087 GB, free: 5.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.1362, allocations: 330.8 kB / 0.509 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.1364, allocations: 79.94 kB / 0.509 GB, free: 5.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1366, allocations: 79.94 kB / 0.5091 GB, free: 5.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.137, allocations: 269.8 kB / 0.5094 GB, free: 4.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.137, allocations: 0 / 0.5094 GB, free: 4.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004396/0.1374, allocations: 295.8 kB / 0.5097 GB, free: 4.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.1375, allocations: 71.39 kB / 0.5097 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1375, allocations: 4.469 kB / 0.5097 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1375, allocations: 0 / 0.5097 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1377, allocations: 23.95 kB / 0.5098 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1377, allocations: 4 kB / 0.5098 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.1378, allocations: 35.81 kB / 0.5098 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1379, allocations: 15.86 kB / 0.5098 GB, free: 4.41 MB / 382.1 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: 0 * Algorithm blocks: 2 * 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 8.79e-05/0.138, allocations: 163.5 kB / 0.51 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.138, allocations: 11.91 kB / 0.51 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.138, allocations: 12.72 kB / 0.51 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.138, allocations: 4 kB / 0.51 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.138, allocations: 0 / 0.51 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1381, allocations: 3.984 kB / 0.51 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1382, allocations: 201.5 kB / 0.5102 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1382, allocations: 0 / 0.5102 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1383, allocations: 15.97 kB / 0.5102 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1383, allocations: 4 kB / 0.5102 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1383, allocations: 4 kB / 0.5102 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1383, allocations: 0 / 0.5102 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1383, allocations: 0 / 0.5102 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.1388, allocations: 310.4 kB / 0.5105 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.1388, allocations: 84.95 kB / 0.5106 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.1389, allocations: 8 kB / 0.5106 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.139, allocations: 31.95 kB / 0.5106 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.1391, allocations: 15.98 kB / 0.5106 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1391, allocations: 7.984 kB / 0.5106 GB, free: 3.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.1392, allocations: 103.3 kB / 0.5107 GB, free: 3.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1392, allocations: 0 / 0.5107 GB, free: 3.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.1394, allocations: 31.94 kB / 0.5108 GB, free: 3.305 MB / 382.1 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: 0 * Algorithm blocks: 1 * 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 8.968e-05/0.1395, allocations: 107.2 kB / 0.5109 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.14, allocations: 346.6 kB / 0.5112 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.14, allocations: 0 / 0.5112 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.1403, allocations: 199.2 kB / 0.5114 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1405, allocations: 16.12 kB / 0.5114 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.1411, allocations: 303.9 kB / 0.5117 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.1412, allocations: 0.7041 MB / 0.5124 GB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.1413, allocations: 15.98 kB / 0.5124 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.1413, allocations: 11.44 kB / 0.5124 GB, free: 1.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1413, allocations: 0 / 0.5124 GB, free: 1.52 MB / 382.1 MB Notification: Performance of Templates: time 0.004044/0.1454, allocations: 1.735 MB / 0.5141 GB, free: 15.79 MB / 398.1 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)