Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01035/0.01035, allocations: 101.2 kB / 15.88 MB, free: 5.871 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.002547/0.002547, allocations: 191.5 kB / 16.79 MB, free: 5.816 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.462/1.462, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9578/0.9578, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.31 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1983, allocations: 80.93 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002887/0.2012, allocations: 1.597 MB / 0.5859 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2024, allocations: 0.5844 MB / 0.5865 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.2025, allocations: 0 / 0.5865 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.2026, allocations: 11.92 kB / 0.5865 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.2027, allocations: 15.86 kB / 0.5865 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.203, allocations: 75.84 kB / 0.5866 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2032, allocations: 87.66 kB / 0.5867 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2033, allocations: 28.22 kB / 0.5867 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2034, allocations: 39.89 kB / 0.5867 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.2035, allocations: 39.83 kB / 0.5868 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2036, allocations: 8 kB / 0.5868 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2037, allocations: 55.89 kB / 0.5868 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.2037, allocations: 15.92 kB / 0.5868 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.2038, allocations: 47.72 kB / 0.5869 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.204, allocations: 92.06 kB / 0.587 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.204, allocations: 0 / 0.587 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.204, allocations: 3.938 kB / 0.587 GB, free: 2.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.204, allocations: 4 kB / 0.587 GB, free: 2.281 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.000838/0.2048, allocations: 452.7 kB / 0.5874 GB, free: 1.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2049, allocations: 12.03 kB / 0.5874 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.2049, allocations: 8.844 kB / 0.5874 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.2052, allocations: 196 kB / 0.5876 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2052, allocations: 4.375 kB / 0.5876 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.2052, allocations: 8.375 kB / 0.5876 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.2055, allocations: 109.9 kB / 0.5877 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2056, allocations: 0 / 0.5877 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2056, allocations: 4 kB / 0.5877 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.2056, allocations: 4 kB / 0.5877 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.2059, allocations: 91.84 kB / 0.5878 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.2066, allocations: 344.7 kB / 0.5882 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.2069, allocations: 90.5 kB / 0.5882 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2071, allocations: 64.81 kB / 0.5883 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2071, allocations: 4 kB / 0.5883 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.2075, allocations: 107.3 kB / 0.5884 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.2075, allocations: 0 / 0.5884 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000648/0.2081, allocations: 213.3 kB / 0.5886 GB, free: 436 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.2082, allocations: 51.41 kB / 0.5887 GB, free: 372 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2083, allocations: 139.9 kB / 0.5888 GB, free: 224 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2084, allocations: 33.7 kB / 0.5888 GB, free: 184 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.2085, allocations: 92.22 kB / 0.5889 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.2085, allocations: 35.53 kB / 0.5889 GB, free: 52 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.2085, allocations: 29.7 kB / 0.589 GB, free: 16 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2087, allocations: 322.8 kB / 0.5893 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.2089, allocations: 56.23 kB / 0.5893 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.2091, allocations: 63.89 kB / 0.5894 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.2094, allocations: 149.9 kB / 0.5895 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2094, allocations: 0 / 0.5895 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004358/0.2099, allocations: 199.2 kB / 0.5897 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.2099, allocations: 33.7 kB / 0.5898 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2099, allocations: 3.984 kB / 0.5898 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.21, allocations: 0 / 0.5898 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.2101, allocations: 27.91 kB / 0.5898 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2101, allocations: 4 kB / 0.5898 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2103, allocations: 23.83 kB / 0.5898 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.2103, allocations: 0 / 0.5898 GB, free: 15.12 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.0001107/0.2104, allocations: 129.8 kB / 0.5899 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.2105, allocations: 7.906 kB / 0.59 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.2105, allocations: 12.72 kB / 0.59 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.2105, allocations: 8 kB / 0.59 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2105, allocations: 0 / 0.59 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2105, allocations: 0 / 0.59 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2107, allocations: 197.5 kB / 0.5902 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2107, allocations: 4 kB / 0.5902 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.2109, allocations: 19.97 kB / 0.5902 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2109, allocations: 0 / 0.5902 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2109, allocations: 4 kB / 0.5902 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2109, allocations: 0 / 0.5902 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2109, allocations: 0 / 0.5902 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.2113, allocations: 184.8 kB / 0.5904 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.2114, allocations: 85.02 kB / 0.5904 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.2114, allocations: 0 / 0.5904 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2115, allocations: 19.97 kB / 0.5905 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.2116, allocations: 15.92 kB / 0.5905 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2116, allocations: 4 kB / 0.5905 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.368e-05/0.2117, allocations: 113.8 kB / 0.5906 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2117, allocations: 0 / 0.5906 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002559/0.212, allocations: 40.03 kB / 0.5906 GB, free: 14.19 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.0001713/0.2121, allocations: 119.2 kB / 0.5907 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.2126, allocations: 191.2 kB / 0.5909 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2126, allocations: 0 / 0.5909 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.2128, allocations: 63.89 kB / 0.591 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.2131, allocations: 14.17 kB / 0.591 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.2137, allocations: 279.1 kB / 0.5913 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2141, allocations: 0.6965 MB / 0.5919 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.2141, allocations: 15.44 kB / 0.592 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2141, allocations: 0 / 0.592 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.003708/0.2178, allocations: 1.513 MB / 0.5934 GB, free: 11.24 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)