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.007854/0.007854, allocations: 96.84 kB / 15.73 MB, free: 6.047 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.001192/0.001192, allocations: 192.8 kB / 16.67 MB, free: 5.957 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.693/1.693, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4374/0.4374, allocations: 54.95 MB / 324.8 MB, free: 24 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.001473/0.001473, allocations: 64.08 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1526, allocations: 59.59 MB / 0.5037 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.002411/0.1551, allocations: 1.539 MB / 0.5052 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007492/0.1559, allocations: 0.5128 MB / 0.5057 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.1559, allocations: 1.031 kB / 0.5057 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.156, allocations: 16.8 kB / 0.5057 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.1561, allocations: 10.41 kB / 0.5057 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1564, allocations: 55.05 kB / 0.5058 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1565, allocations: 116.9 kB / 0.5059 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1567, allocations: 14.95 kB / 0.5059 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1568, allocations: 68.94 kB / 0.506 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.1569, allocations: 46.34 kB / 0.506 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.1569, allocations: 7.969 kB / 0.506 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.197e-05/0.1569, allocations: 9.312 kB / 0.506 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.157, allocations: 20.05 kB / 0.506 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.1571, allocations: 52.31 kB / 0.5061 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1572, allocations: 92.25 kB / 0.5062 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1572, allocations: 0 / 0.5062 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1572, allocations: 0 / 0.5062 GB, free: 7.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1572, allocations: 1.656 kB / 0.5062 GB, free: 7.711 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.0007631/0.158, allocations: 482.5 kB / 0.5066 GB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1581, allocations: 10.16 kB / 0.5066 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.1581, allocations: 14 kB / 0.5067 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1583, allocations: 205.9 kB / 0.5069 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1583, allocations: 7.969 kB / 0.5069 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1583, allocations: 4.688 kB / 0.5069 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.1587, allocations: 141.3 kB / 0.507 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1588, allocations: 1.375 kB / 0.507 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1588, allocations: 5.375 kB / 0.507 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1588, allocations: 1.375 kB / 0.507 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.1593, allocations: 113.8 kB / 0.5071 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.1599, allocations: 354.1 kB / 0.5075 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.1602, allocations: 139.1 kB / 0.5076 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.1604, allocations: 99.73 kB / 0.5077 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1605, allocations: 9.359 kB / 0.5077 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.1608, allocations: 147.7 kB / 0.5078 GB, free: 6.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1608, allocations: 0 / 0.5078 GB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007617/0.1616, allocations: 329 kB / 0.5081 GB, free: 6.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1616, allocations: 88.73 kB / 0.5082 GB, free: 5.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1617, allocations: 139.3 kB / 0.5084 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1618, allocations: 31.67 kB / 0.5084 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1618, allocations: 96.17 kB / 0.5085 GB, free: 5.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.1619, allocations: 32.8 kB / 0.5085 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.1619, allocations: 32.17 kB / 0.5085 GB, free: 5.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.162, allocations: 329.4 kB / 0.5089 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1622, allocations: 81.53 kB / 0.5089 GB, free: 5.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1624, allocations: 89.47 kB / 0.509 GB, free: 5.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.1628, allocations: 268.6 kB / 0.5093 GB, free: 5.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1629, allocations: 4 kB / 0.5093 GB, free: 5.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004385/0.1633, allocations: 285 kB / 0.5096 GB, free: 4.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.1634, allocations: 71.39 kB / 0.5096 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1634, allocations: 0 / 0.5096 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1634, allocations: 0 / 0.5096 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1635, allocations: 23.97 kB / 0.5096 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1635, allocations: 0 / 0.5096 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.1637, allocations: 35.81 kB / 0.5097 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1638, allocations: 8.453 kB / 0.5097 GB, free: 4.609 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 0.0001157/0.1639, allocations: 167.4 kB / 0.5099 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.1639, allocations: 11.91 kB / 0.5099 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.1639, allocations: 16.66 kB / 0.5099 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.164, allocations: 0 / 0.5099 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.164, allocations: 0 / 0.5099 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.164, allocations: 0 / 0.5099 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.1641, allocations: 213.5 kB / 0.5101 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1641, allocations: 0 / 0.5101 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1642, allocations: 19.97 kB / 0.5101 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1642, allocations: 0 / 0.5101 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1642, allocations: 0 / 0.5101 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1643, allocations: 0 / 0.5101 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1643, allocations: 4 kB / 0.5101 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.1647, allocations: 314.3 kB / 0.5104 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.1648, allocations: 85.02 kB / 0.5105 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.1648, allocations: 4 kB / 0.5105 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1649, allocations: 27.95 kB / 0.5105 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.1651, allocations: 15.98 kB / 0.5105 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1651, allocations: 7.984 kB / 0.5105 GB, free: 3.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.652e-05/0.1651, allocations: 111.3 kB / 0.5106 GB, free: 3.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1651, allocations: 0 / 0.5106 GB, free: 3.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.1653, allocations: 27.94 kB / 0.5107 GB, free: 3.492 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 9.487e-05/0.1654, allocations: 99.19 kB / 0.5108 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005354/0.166, allocations: 350.6 kB / 0.5111 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.166, allocations: 4 kB / 0.5111 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.1663, allocations: 195.2 kB / 0.5113 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1665, allocations: 12 kB / 0.5113 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.167, allocations: 299.9 kB / 0.5116 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.1672, allocations: 0.7041 MB / 0.5123 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.1672, allocations: 12.17 kB / 0.5123 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.1673, allocations: 11.44 kB / 0.5123 GB, free: 1.723 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1673, allocations: 3.938 kB / 0.5123 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Templates: time 0.003962/0.1713, allocations: 1.804 MB / 0.5141 GB, free: 15.93 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)