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.001381/0.001381, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001393/0.001393, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4563, allocations: 80.19 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002897/0.4593, allocations: 1.549 MB / 0.583 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.4603, allocations: 0.5752 MB / 0.5835 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.4604, allocations: 1.375 kB / 0.5835 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.4605, allocations: 14.17 kB / 0.5836 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.4606, allocations: 18.67 kB / 0.5836 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.461, allocations: 90.17 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.4611, allocations: 105.6 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.4613, allocations: 16.11 kB / 0.5838 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.4614, allocations: 49.02 kB / 0.5838 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.048e-05/0.4615, allocations: 45.67 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.4615, allocations: 9.812 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4617, allocations: 88.47 kB / 0.584 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.4617, allocations: 24.5 kB / 0.584 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.4618, allocations: 36.86 kB / 0.584 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.4619, allocations: 139.4 kB / 0.5842 GB, free: 25.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.462, allocations: 0.9688 kB / 0.5842 GB, free: 25.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.462, allocations: 0 / 0.5842 GB, free: 25.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.462, allocations: 0 / 0.5842 GB, free: 25.49 MB / 446.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.0006931/0.4627, allocations: 457.9 kB / 0.5846 GB, free: 25.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4627, allocations: 9.75 kB / 0.5846 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.4628, allocations: 11.34 kB / 0.5846 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.463, allocations: 196.5 kB / 0.5848 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.463, allocations: 4.562 kB / 0.5848 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.463, allocations: 7.438 kB / 0.5848 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.4633, allocations: 108.8 kB / 0.5849 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4633, allocations: 0.7812 kB / 0.5849 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4633, allocations: 0 / 0.5849 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.4634, allocations: 8.75 kB / 0.5849 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.4636, allocations: 82.61 kB / 0.585 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.4642, allocations: 351.6 kB / 0.5853 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.4645, allocations: 100.3 kB / 0.5854 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.4647, allocations: 60.25 kB / 0.5855 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.4647, allocations: 80 / 0.5855 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.465, allocations: 121.6 kB / 0.5856 GB, free: 24.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.465, allocations: 0 / 0.5856 GB, free: 24.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005939/0.4656, allocations: 205.8 kB / 0.5858 GB, free: 24.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.4657, allocations: 52.72 kB / 0.5859 GB, free: 24.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4658, allocations: 140.4 kB / 0.586 GB, free: 23.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.4658, allocations: 31.16 kB / 0.586 GB, free: 23.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.4659, allocations: 102 kB / 0.5861 GB, free: 23.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.4659, allocations: 27.33 kB / 0.5861 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.4659, allocations: 26.17 kB / 0.5862 GB, free: 23.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.466, allocations: 330.1 kB / 0.5865 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.4662, allocations: 58.05 kB / 0.5865 GB, free: 23.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.4663, allocations: 61.12 kB / 0.5866 GB, free: 23.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.4667, allocations: 145.7 kB / 0.5867 GB, free: 23.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4667, allocations: 0 / 0.5867 GB, free: 23.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004123/0.4671, allocations: 198.8 kB / 0.5869 GB, free: 23.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.4672, allocations: 37.22 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4672, allocations: 0 / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4672, allocations: 1.094 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4673, allocations: 17.89 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4674, allocations: 1.188 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4675, allocations: 22 kB / 0.587 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.4675, allocations: 5.781 kB / 0.587 GB, free: 23.07 MB / 446.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 8.276e-05/0.4676, allocations: 128.2 kB / 0.5871 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.4676, allocations: 7.656 kB / 0.5871 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.4677, allocations: 15.02 kB / 0.5871 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4677, allocations: 4.094 kB / 0.5872 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4677, allocations: 0 / 0.5872 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4677, allocations: 1.344 kB / 0.5872 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.4678, allocations: 201.1 kB / 0.5873 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4679, allocations: 0 / 0.5873 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.468, allocations: 27.39 kB / 0.5874 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.468, allocations: 0.6562 kB / 0.5874 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.468, allocations: 9.766 kB / 0.5874 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.468, allocations: 1.469 kB / 0.5874 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.468, allocations: 2.438 kB / 0.5874 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.4684, allocations: 182.5 kB / 0.5876 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.4684, allocations: 89.23 kB / 0.5876 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4685, allocations: 1.312 kB / 0.5876 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.4686, allocations: 20.45 kB / 0.5877 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.4687, allocations: 13.19 kB / 0.5877 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.4687, allocations: 7.906 kB / 0.5877 GB, free: 22.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.052e-05/0.4687, allocations: 108.6 kB / 0.5878 GB, free: 22.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4688, allocations: 1.25 kB / 0.5878 GB, free: 22.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.469, allocations: 35.41 kB / 0.5878 GB, free: 22.33 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.0001622/0.4692, allocations: 119.7 kB / 0.5879 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.4696, allocations: 190.9 kB / 0.5881 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4696, allocations: 1.906 kB / 0.5881 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.4698, allocations: 62.3 kB / 0.5882 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.47, allocations: 12.02 kB / 0.5882 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.4705, allocations: 228.8 kB / 0.5884 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.4707, allocations: 0.7 MB / 0.5891 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.4707, allocations: 21.25 kB / 0.5891 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.4708, allocations: 13 kB / 0.5891 GB, free: 21.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4708, allocations: 0 / 0.5891 GB, free: 21.18 MB / 446.1 MB Notification: Performance of Templates: time 0.003847/0.4746, allocations: 1.399 MB / 0.5905 GB, free: 20.53 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)