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.001529/0.001529, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001833/0.001833, allocations: 194 kB / 16.14 MB, free: 6.695 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7976/0.7976, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.59 kB / 0.5011 GB, free: 9.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1967, allocations: 80.2 MB / 0.5794 GB, free: 9.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003293/0.2001, allocations: 1.597 MB / 0.581 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2013, allocations: 0.5961 MB / 0.5816 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.2014, allocations: 0 / 0.5816 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.2015, allocations: 7.938 kB / 0.5816 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.1e-05/0.2016, allocations: 19.84 kB / 0.5816 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.202, allocations: 67.88 kB / 0.5816 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2022, allocations: 99.56 kB / 0.5817 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2023, allocations: 16.23 kB / 0.5818 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2024, allocations: 35.91 kB / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2026, allocations: 51.75 kB / 0.5818 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.2026, allocations: 4 kB / 0.5818 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.2027, allocations: 55.95 kB / 0.5819 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.2028, allocations: 19.92 kB / 0.5819 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.2029, allocations: 39.73 kB / 0.582 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.2031, allocations: 139.8 kB / 0.5821 GB, free: 6.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2031, allocations: 3.938 kB / 0.5821 GB, free: 6.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2031, allocations: 4 kB / 0.5821 GB, free: 6.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2031, allocations: 0 / 0.5821 GB, free: 6.5 MB / 494.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.0009258/0.2041, allocations: 456.7 kB / 0.5825 GB, free: 6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2041, allocations: 8.031 kB / 0.5825 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.2042, allocations: 8.844 kB / 0.5825 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.2044, allocations: 194.2 kB / 0.5827 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2044, allocations: 4.375 kB / 0.5827 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.2044, allocations: 4.375 kB / 0.5827 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.2048, allocations: 117.9 kB / 0.5829 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2048, allocations: 0 / 0.5829 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2048, allocations: 4 kB / 0.5829 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.2049, allocations: 4 kB / 0.5829 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.2052, allocations: 87.92 kB / 0.5829 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.206, allocations: 344.7 kB / 0.5833 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.2063, allocations: 98.44 kB / 0.5834 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.2065, allocations: 56.88 kB / 0.5834 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2065, allocations: 4 kB / 0.5834 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.2069, allocations: 115.3 kB / 0.5835 GB, free: 4.855 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.2069, allocations: 0 / 0.5835 GB, free: 4.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006788/0.2076, allocations: 201.7 kB / 0.5837 GB, free: 4.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.2077, allocations: 67.28 kB / 0.5838 GB, free: 4.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2078, allocations: 141.8 kB / 0.5839 GB, free: 4.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.2078, allocations: 29.77 kB / 0.584 GB, free: 4.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.2079, allocations: 96.05 kB / 0.584 GB, free: 4.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.2079, allocations: 27.64 kB / 0.5841 GB, free: 4.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.208, allocations: 29.7 kB / 0.5841 GB, free: 4.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2081, allocations: 326.8 kB / 0.5844 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2083, allocations: 63.89 kB / 0.5845 GB, free: 3.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2085, allocations: 51.95 kB / 0.5845 GB, free: 3.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.209, allocations: 142.5 kB / 0.5847 GB, free: 3.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.209, allocations: 4 kB / 0.5847 GB, free: 3.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000464/0.2094, allocations: 202.6 kB / 0.5849 GB, free: 3.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.2095, allocations: 31.58 kB / 0.5849 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2095, allocations: 0 / 0.5849 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2095, allocations: 0 / 0.5849 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2097, allocations: 19.98 kB / 0.5849 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2097, allocations: 3.938 kB / 0.5849 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2098, allocations: 27.81 kB / 0.5849 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.2099, allocations: 8 kB / 0.5849 GB, free: 3.336 MB / 494.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 0.0001085/0.21, allocations: 117.8 kB / 0.5851 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.21, allocations: 11.91 kB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.21, allocations: 12.7 kB / 0.5851 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.2101, allocations: 8 kB / 0.5851 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2101, allocations: 0 / 0.5851 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2101, allocations: 0 / 0.5851 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.2103, allocations: 201.5 kB / 0.5853 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2103, allocations: 0 / 0.5853 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.2104, allocations: 19.98 kB / 0.5853 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2104, allocations: 7.922 kB / 0.5853 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2105, allocations: 3.984 kB / 0.5853 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2105, allocations: 0 / 0.5853 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2105, allocations: 0 / 0.5853 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.2109, allocations: 193 kB / 0.5855 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.211, allocations: 81.02 kB / 0.5856 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.211, allocations: 8 kB / 0.5856 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2112, allocations: 11.98 kB / 0.5856 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.2112, allocations: 19.91 kB / 0.5856 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.2113, allocations: 4 kB / 0.5856 GB, free: 2.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.2113, allocations: 110.1 kB / 0.5857 GB, free: 2.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2113, allocations: 0 / 0.5857 GB, free: 2.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.2116, allocations: 43.83 kB / 0.5858 GB, free: 2.406 MB / 494.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.0002029/0.2118, allocations: 123.2 kB / 0.5859 GB, free: 2.277 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005058/0.2124, allocations: 183.2 kB / 0.586 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2124, allocations: 0 / 0.586 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.2126, allocations: 59.95 kB / 0.5861 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2128, allocations: 19.38 kB / 0.5861 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.2134, allocations: 253.4 kB / 0.5864 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.2137, allocations: 0.6965 MB / 0.587 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.2138, allocations: 11.98 kB / 0.5871 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.2139, allocations: 11.44 kB / 0.5871 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2139, allocations: 3.938 kB / 0.5871 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of Templates: time 0.004446/0.2183, allocations: 1.281 MB / 0.5883 GB, free: 15.71 MB / 0.4981 GB 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)