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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008277/0.0008277, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.0072/0.0072, allocations: 169.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7544/0.7544, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 13.33 kB / 0.504 GB, free: 3.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.509, allocations: 81.58 MB / 0.5837 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001644/0.5107, allocations: 1.27 MB / 0.5849 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.5116, allocations: 0.5792 MB / 0.5855 GB, free: 3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.5117, allocations: 1.312 kB / 0.5855 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.738e-05/0.5118, allocations: 10 kB / 0.5855 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.5119, allocations: 14.67 kB / 0.5855 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.5122, allocations: 72.95 kB / 0.5856 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.5123, allocations: 89.48 kB / 0.5856 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.5125, allocations: 23.3 kB / 0.5857 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.5126, allocations: 39.66 kB / 0.5857 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.5127, allocations: 39.95 kB / 0.5857 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.5127, allocations: 4.188 kB / 0.5857 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.5128, allocations: 56.7 kB / 0.5858 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.5129, allocations: 19.17 kB / 0.5858 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.513, allocations: 60.66 kB / 0.5859 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.5132, allocations: 135 kB / 0.586 GB, free: 2.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5132, allocations: 4.938 kB / 0.586 GB, free: 2.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5132, allocations: 0 / 0.586 GB, free: 2.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.5132, allocations: 0 / 0.586 GB, free: 2.738 MB / 430.1 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.0007452/0.514, allocations: 446.5 kB / 0.5864 GB, free: 2.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.514, allocations: 13.06 kB / 0.5865 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.5141, allocations: 10.25 kB / 0.5865 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.5142, allocations: 202.2 kB / 0.5867 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5143, allocations: 2.281 kB / 0.5867 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.5143, allocations: 8.125 kB / 0.5867 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.5146, allocations: 114.7 kB / 0.5868 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5146, allocations: 6.125 kB / 0.5868 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.5147, allocations: 0 / 0.5868 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.5147, allocations: 9.438 kB / 0.5868 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.5151, allocations: 104.9 kB / 0.5869 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.5157, allocations: 360.1 kB / 0.5872 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.5161, allocations: 107.3 kB / 0.5873 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.5164, allocations: 71.25 kB / 0.5874 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.5164, allocations: 5.969 kB / 0.5874 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.5168, allocations: 133.9 kB / 0.5875 GB, free: 1.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.5168, allocations: 0 / 0.5875 GB, free: 1.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007877/0.5176, allocations: 235.4 kB / 0.5878 GB, free: 1.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.5176, allocations: 53.28 kB / 0.5878 GB, free: 1.438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5178, allocations: 141.9 kB / 0.5879 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5178, allocations: 32.05 kB / 0.588 GB, free: 1.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.5179, allocations: 97.56 kB / 0.5881 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.5179, allocations: 26.48 kB / 0.5881 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.5179, allocations: 18.92 kB / 0.5881 GB, free: 1.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.518, allocations: 325.2 kB / 0.5884 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.5182, allocations: 69.62 kB / 0.5885 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5185, allocations: 66.34 kB / 0.5886 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.5189, allocations: 171.8 kB / 0.5887 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5189, allocations: 0 / 0.5887 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005307/0.5194, allocations: 218.5 kB / 0.5889 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.5195, allocations: 31.45 kB / 0.589 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.5195, allocations: 1.312 kB / 0.589 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5195, allocations: 0.6562 kB / 0.589 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.5197, allocations: 27.11 kB / 0.589 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5197, allocations: 0.7188 kB / 0.589 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.5199, allocations: 28.11 kB / 0.589 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.5199, allocations: 2.812 kB / 0.589 GB, free: 0.5938 MB / 430.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: 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 9.976e-05/0.52, allocations: 125.7 kB / 0.5891 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.52, allocations: 8.688 kB / 0.5891 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.5201, allocations: 12.94 kB / 0.5892 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5201, allocations: 4.141 kB / 0.5892 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5201, allocations: 0.8438 kB / 0.5892 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5201, allocations: 0.6562 kB / 0.5892 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.5203, allocations: 203.1 kB / 0.5894 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5203, allocations: 0 / 0.5894 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.5204, allocations: 25.75 kB / 0.5894 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5204, allocations: 4.75 kB / 0.5894 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5205, allocations: 2.625 kB / 0.5894 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5205, allocations: 3.938 kB / 0.5894 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5205, allocations: 1.766 kB / 0.5894 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.521, allocations: 210.9 kB / 0.5896 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.521, allocations: 87.52 kB / 0.5897 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.521, allocations: 2.234 kB / 0.5897 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5212, allocations: 23.06 kB / 0.5897 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.5213, allocations: 18.28 kB / 0.5897 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5213, allocations: 3.141 kB / 0.5897 GB, free: 8 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.5214, allocations: 110.2 kB / 0.5898 GB, free: 15.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5214, allocations: 0 / 0.5898 GB, free: 15.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000282/0.5217, allocations: 37.36 kB / 0.5899 GB, free: 15.92 MB / 446.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: 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.0001915/0.5219, allocations: 116.7 kB / 0.59 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005455/0.5224, allocations: 204.8 kB / 0.5902 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5224, allocations: 4 kB / 0.5902 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.5227, allocations: 71.52 kB / 0.5902 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.5229, allocations: 9.516 kB / 0.5902 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.5235, allocations: 264.6 kB / 0.5905 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5238, allocations: 0.7026 MB / 0.5912 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.611e-05/0.5239, allocations: 15.3 kB / 0.5912 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.524, allocations: 12.45 kB / 0.5912 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.524, allocations: 4.469 kB / 0.5912 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Templates: time 0.004952/0.529, allocations: 1.256 MB / 0.5924 GB, free: 14.72 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)