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.001299/0.001299, allocations: 110.2 kB / 16.41 MB, free: 6.496 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.001297/0.001298, allocations: 187 kB / 17.34 MB, free: 5.762 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7798/0.7798, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.34 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1885, allocations: 80.22 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.004333/0.1928, allocations: 1.531 MB / 0.6618 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1944, allocations: 0.5843 MB / 0.6624 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1945, allocations: 3.938 kB / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1947, allocations: 15.88 kB / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.489e-05/0.1948, allocations: 19.8 kB / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.1954, allocations: 87.77 kB / 0.6625 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1957, allocations: 95.69 kB / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1958, allocations: 28.2 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.196, allocations: 43.84 kB / 0.6626 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1962, allocations: 47.81 kB / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.1963, allocations: 4 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.1965, allocations: 99.84 kB / 0.6628 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.1966, allocations: 19.92 kB / 0.6628 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.066e-05/0.1967, allocations: 35.73 kB / 0.6628 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.197, allocations: 147.5 kB / 0.663 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.197, allocations: 0 / 0.663 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.63e-06/0.1971, allocations: 0 / 0.663 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.1971, allocations: 7.938 kB / 0.663 GB, free: 7.52 MB / 0.4981 GB 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.001103/0.1982, allocations: 448.8 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1982, allocations: 8.031 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.1983, allocations: 12.75 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1986, allocations: 188.2 kB / 0.6636 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1986, allocations: 8.375 kB / 0.6636 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1987, allocations: 8.359 kB / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.1991, allocations: 101.9 kB / 0.6637 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1991, allocations: 3.938 kB / 0.6637 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.1991, allocations: 3.984 kB / 0.6637 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.1992, allocations: 4 kB / 0.6637 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.1996, allocations: 95.86 kB / 0.6638 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.2005, allocations: 348.6 kB / 0.6642 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.2009, allocations: 90.45 kB / 0.6643 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.2011, allocations: 64.88 kB / 0.6643 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2011, allocations: 0 / 0.6643 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.2016, allocations: 107.3 kB / 0.6644 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.2016, allocations: 0 / 0.6644 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0009308/0.2025, allocations: 217.3 kB / 0.6646 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.2026, allocations: 51.41 kB / 0.6647 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.2028, allocations: 139.9 kB / 0.6648 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.2028, allocations: 25.7 kB / 0.6648 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2029, allocations: 108 kB / 0.6649 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.203, allocations: 31.69 kB / 0.665 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.2031, allocations: 25.62 kB / 0.665 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.2033, allocations: 326.8 kB / 0.6653 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.2035, allocations: 55.95 kB / 0.6654 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.2038, allocations: 59.88 kB / 0.6654 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.2043, allocations: 144.8 kB / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2043, allocations: 0 / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006414/0.205, allocations: 199.2 kB / 0.6657 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.205, allocations: 33.69 kB / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.205, allocations: 0 / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2051, allocations: 0 / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.2053, allocations: 27.92 kB / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2053, allocations: 4 kB / 0.6658 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.2055, allocations: 15.92 kB / 0.6658 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.2055, allocations: 7.984 kB / 0.6658 GB, free: 4.367 MB / 0.4981 GB 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.0001466/0.2057, allocations: 117.8 kB / 0.6659 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.2057, allocations: 7.906 kB / 0.6659 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.2058, allocations: 20.7 kB / 0.666 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.2058, allocations: 8 kB / 0.666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2058, allocations: 0 / 0.666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2058, allocations: 4 kB / 0.666 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.2061, allocations: 205.4 kB / 0.6662 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2061, allocations: 0 / 0.6662 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.2063, allocations: 15.98 kB / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2063, allocations: 0 / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2063, allocations: 0 / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2063, allocations: 480 / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.2063, allocations: 7.922 kB / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.2069, allocations: 184.8 kB / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.207, allocations: 89 kB / 0.6665 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.207, allocations: 0 / 0.6665 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.2072, allocations: 15.98 kB / 0.6665 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.2073, allocations: 15.98 kB / 0.6665 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.2073, allocations: 3.984 kB / 0.6665 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001007/0.2074, allocations: 105 kB / 0.6666 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.215e-06/0.2075, allocations: 0 / 0.6666 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003566/0.2078, allocations: 47.81 kB / 0.6666 GB, free: 3.434 MB / 0.4981 GB 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.0002291/0.2081, allocations: 119.2 kB / 0.6668 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006334/0.2087, allocations: 187.2 kB / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2087, allocations: 0 / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.209, allocations: 67.88 kB / 0.667 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2093, allocations: 9.719 kB / 0.667 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.2101, allocations: 261.3 kB / 0.6673 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.2105, allocations: 0.6963 MB / 0.6679 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.2106, allocations: 19.42 kB / 0.668 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.2106, allocations: 0 / 0.668 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.004802/0.2154, allocations: 1.524 MB / 0.6694 GB, free: 496 kB / 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)