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.001249/0.001249, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.001336/0.001336, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8632/0.8632, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.16 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1959, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002659/0.1986, allocations: 1.543 MB / 0.6618 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.1996, allocations: 0.5765 MB / 0.6624 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.1997, allocations: 7.938 kB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1998, allocations: 11.92 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.1998, allocations: 15.8 kB / 0.6624 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.2003, allocations: 87.78 kB / 0.6625 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.2004, allocations: 107.6 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2005, allocations: 24.22 kB / 0.6626 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2007, allocations: 39.84 kB / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.539e-05/0.2008, allocations: 47.81 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2008, allocations: 8 kB / 0.6627 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.2009, allocations: 87.91 kB / 0.6628 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.201, allocations: 19.92 kB / 0.6628 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.2011, allocations: 51.72 kB / 0.6629 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2013, allocations: 139.5 kB / 0.663 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2013, allocations: 0 / 0.663 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.185e-06/0.2013, allocations: 0 / 0.663 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2013, allocations: 0 / 0.663 GB, free: 7.504 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.0008201/0.2021, allocations: 448.8 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2022, allocations: 12.03 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.2022, allocations: 12.75 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.2024, allocations: 196.1 kB / 0.6636 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2025, allocations: 8.375 kB / 0.6636 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2025, allocations: 384 / 0.6636 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.2028, allocations: 109.9 kB / 0.6637 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2028, allocations: 0 / 0.6637 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.2028, allocations: 7.984 kB / 0.6637 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.2029, allocations: 7.938 kB / 0.6638 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.2032, allocations: 87.92 kB / 0.6638 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.2038, allocations: 348.6 kB / 0.6642 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.2041, allocations: 94.52 kB / 0.6643 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.2043, allocations: 52.88 kB / 0.6643 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2043, allocations: 0 / 0.6643 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.2047, allocations: 119.2 kB / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2047, allocations: 0 / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006504/0.2053, allocations: 213.5 kB / 0.6646 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.2054, allocations: 55.41 kB / 0.6647 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2055, allocations: 140.1 kB / 0.6648 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2055, allocations: 25.7 kB / 0.6648 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.2056, allocations: 112 kB / 0.6649 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.2056, allocations: 19.7 kB / 0.665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.2057, allocations: 37.61 kB / 0.665 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2058, allocations: 318.8 kB / 0.6653 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.206, allocations: 51.95 kB / 0.6654 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.2062, allocations: 63.94 kB / 0.6654 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.2066, allocations: 144.9 kB / 0.6656 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2066, allocations: 0 / 0.6656 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004359/0.207, allocations: 199.2 kB / 0.6657 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.2071, allocations: 37.69 kB / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2071, allocations: 0 / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2071, allocations: 4 kB / 0.6658 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2073, allocations: 19.98 kB / 0.6658 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2073, allocations: 0 / 0.6658 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.2074, allocations: 27.91 kB / 0.6658 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2074, allocations: 0 / 0.6658 GB, free: 4.344 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.0001045/0.2075, allocations: 129.7 kB / 0.666 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2076, allocations: 7.906 kB / 0.666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.2076, allocations: 20.7 kB / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.2076, allocations: 480 / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2076, allocations: 4 kB / 0.666 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2076, allocations: 0 / 0.666 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.2078, allocations: 201.5 kB / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2078, allocations: 0 / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.208, allocations: 19.92 kB / 0.6662 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.208, allocations: 0 / 0.6662 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.208, allocations: 7.984 kB / 0.6662 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.208, allocations: 0 / 0.6662 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.208, allocations: 4 kB / 0.6662 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.2084, allocations: 180.8 kB / 0.6664 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.2085, allocations: 85.02 kB / 0.6665 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.2085, allocations: 4 kB / 0.6665 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2086, allocations: 15.98 kB / 0.6665 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.2087, allocations: 15.98 kB / 0.6665 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.2087, allocations: 3.984 kB / 0.6665 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.47e-05/0.2088, allocations: 104.6 kB / 0.6666 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2088, allocations: 0 / 0.6666 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002315/0.209, allocations: 43.86 kB / 0.6666 GB, free: 3.41 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.0001717/0.2092, allocations: 123.2 kB / 0.6668 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.2097, allocations: 183.2 kB / 0.6669 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2097, allocations: 4 kB / 0.6669 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.2099, allocations: 63.94 kB / 0.667 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.2101, allocations: 8.25 kB / 0.667 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.2107, allocations: 273.5 kB / 0.6673 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2109, allocations: 0.6924 MB / 0.6679 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.211, allocations: 19.42 kB / 0.668 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.211, allocations: 0 / 0.668 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.003223/0.2142, allocations: 1.521 MB / 0.6694 GB, free: 468 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)