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.001419/0.001419, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.001438/0.001438, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.299/1.299, 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.7889/0.7889, allocations: 132.2 MB / 423.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3308, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002393/0.3332, allocations: 1.541 MB / 0.583 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008012/0.3341, allocations: 0.5847 MB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.3341, allocations: 3.938 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.501e-05/0.3342, allocations: 5.094 kB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.3343, allocations: 24.56 kB / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.3346, allocations: 89.2 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3348, allocations: 100.1 kB / 0.5838 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3349, allocations: 20.59 kB / 0.5838 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.335, allocations: 51.27 kB / 0.5838 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.3351, allocations: 46.11 kB / 0.5839 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.3351, allocations: 6.656 kB / 0.5839 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3353, allocations: 84.44 kB / 0.584 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.3353, allocations: 24.14 kB / 0.584 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.3354, allocations: 48.25 kB / 0.584 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3356, allocations: 133.7 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3356, allocations: 1.219 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3356, allocations: 0 / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3356, allocations: 0 / 0.5842 GB, free: 25.57 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.0007532/0.3364, allocations: 454.9 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3364, allocations: 10.41 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.3365, allocations: 8.75 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3366, allocations: 198.6 kB / 0.5848 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3366, allocations: 13.17 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3367, allocations: 3.906 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.3369, allocations: 101.7 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.337, allocations: 0.7812 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.337, allocations: 5.5 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.337, allocations: 8.359 kB / 0.5849 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.3373, allocations: 88.39 kB / 0.585 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.3379, allocations: 353.1 kB / 0.5854 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.3382, allocations: 91.55 kB / 0.5854 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3383, allocations: 56.69 kB / 0.5855 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3384, allocations: 2.938 kB / 0.5855 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.3387, allocations: 123.2 kB / 0.5856 GB, free: 24.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.3387, allocations: 3.984 kB / 0.5856 GB, free: 24.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005592/0.3393, allocations: 208.5 kB / 0.5858 GB, free: 24.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3393, allocations: 53.47 kB / 0.5859 GB, free: 24.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.3394, allocations: 141.9 kB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3394, allocations: 27.61 kB / 0.586 GB, free: 23.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.3395, allocations: 101.2 kB / 0.5861 GB, free: 23.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3395, allocations: 23.75 kB / 0.5862 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3395, allocations: 25.55 kB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.3396, allocations: 330.9 kB / 0.5865 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.3398, allocations: 53.45 kB / 0.5865 GB, free: 23.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3399, allocations: 60.67 kB / 0.5866 GB, free: 23.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.3402, allocations: 145.8 kB / 0.5867 GB, free: 23.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3402, allocations: 1.25 kB / 0.5867 GB, free: 23.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003865/0.3406, allocations: 204.3 kB / 0.5869 GB, free: 23.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3407, allocations: 34.27 kB / 0.587 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3407, allocations: 0 / 0.587 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3407, allocations: 1.562 kB / 0.587 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3408, allocations: 19.75 kB / 0.587 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3409, allocations: 1.234 kB / 0.587 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.341, allocations: 18.2 kB / 0.587 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.341, allocations: 14.5 kB / 0.587 GB, free: 23.14 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 7.708e-05/0.3411, allocations: 125.2 kB / 0.5871 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.3411, allocations: 9.156 kB / 0.5872 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3412, allocations: 10.53 kB / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.3412, allocations: 9.016 kB / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3412, allocations: 480 / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3412, allocations: 1.438 kB / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3413, allocations: 200.6 kB / 0.5874 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3414, allocations: 0 / 0.5874 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3415, allocations: 19.72 kB / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3415, allocations: 5.969 kB / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3415, allocations: 0 / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3415, allocations: 2.281 kB / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3415, allocations: 0 / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.3419, allocations: 187.9 kB / 0.5876 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.3419, allocations: 93.25 kB / 0.5877 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.342, allocations: 9.656 kB / 0.5877 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3421, allocations: 11.83 kB / 0.5877 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.3422, allocations: 15.23 kB / 0.5877 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3422, allocations: 2.688 kB / 0.5877 GB, free: 22.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.403e-05/0.3422, allocations: 112.4 kB / 0.5878 GB, free: 22.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 0 / 0.5878 GB, free: 22.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3425, allocations: 38.91 kB / 0.5878 GB, free: 22.41 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.0001526/0.3427, allocations: 118.8 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.3431, allocations: 186.9 kB / 0.5881 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3431, allocations: 1.5 kB / 0.5881 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.3433, allocations: 61.2 kB / 0.5882 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.3435, allocations: 13.45 kB / 0.5882 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.344, allocations: 233 kB / 0.5884 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3442, allocations: 0.6982 MB / 0.5891 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.213e-05/0.3442, allocations: 17.14 kB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.3443, allocations: 15.83 kB / 0.5891 GB, free: 21.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3443, allocations: 0 / 0.5891 GB, free: 21.26 MB / 446.1 MB Notification: Performance of Templates: time 0.003668/0.3479, allocations: 1.398 MB / 0.5905 GB, free: 20.6 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)