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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002003/0.002003, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.552/1.552, 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-master/package.mo): time 1.129/1.129, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68.28 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2187, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003398/0.2221, allocations: 1.593 MB / 0.5853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2233, allocations: 0.5767 MB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.2234, allocations: 3.938 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.2235, allocations: 8 kB / 0.5858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.2236, allocations: 23.78 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.2239, allocations: 71.86 kB / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2241, allocations: 87.64 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2242, allocations: 20.23 kB / 0.586 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.2244, allocations: 47.77 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.2245, allocations: 39.83 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.2245, allocations: 8 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2246, allocations: 59.89 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.2247, allocations: 19.91 kB / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.2248, allocations: 35.8 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.225, allocations: 135.8 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.225, allocations: 0 / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.225, allocations: 4 kB / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.225, allocations: 0 / 0.5864 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.0009179/0.2259, allocations: 456.7 kB / 0.5868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.226, allocations: 12.03 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.226, allocations: 8.844 kB / 0.5868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.2263, allocations: 196.1 kB / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2263, allocations: 8.312 kB / 0.587 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2263, allocations: 8.375 kB / 0.587 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.2267, allocations: 109.9 kB / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2267, allocations: 0 / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2267, allocations: 0 / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.2267, allocations: 4 kB / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.227, allocations: 87.92 kB / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.2278, allocations: 348.7 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.2281, allocations: 90.5 kB / 0.5876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2283, allocations: 64.88 kB / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2284, allocations: 0 / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/0.2287, allocations: 115.3 kB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2287, allocations: 0 / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006817/0.2294, allocations: 209.7 kB / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2295, allocations: 59.28 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2296, allocations: 140.1 kB / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.2297, allocations: 29.69 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.2297, allocations: 96.14 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.2298, allocations: 35.55 kB / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.2298, allocations: 25.7 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.23, allocations: 326.8 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.2302, allocations: 55.95 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.2304, allocations: 59.5 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.2308, allocations: 150.5 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2308, allocations: 0 / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004463/0.2312, allocations: 199.2 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.2313, allocations: 33.69 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2313, allocations: 0 / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2313, allocations: 3.984 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2315, allocations: 23.98 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2315, allocations: 8.062 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2316, allocations: 23.81 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.2317, allocations: 4 kB / 0.5892 GB, free: 15.11 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.0001033/0.2318, allocations: 117.8 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.2318, allocations: 11.84 kB / 0.5893 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.2319, allocations: 20.7 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.2319, allocations: 8 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2319, allocations: 0 / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2319, allocations: 0 / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.2321, allocations: 197.5 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2321, allocations: 0 / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2322, allocations: 19.92 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2322, allocations: 0 / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2322, allocations: 3.984 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2323, allocations: 0 / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2323, allocations: 0 / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.2327, allocations: 196.9 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2328, allocations: 85.02 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.2329, allocations: 0 / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.233, allocations: 15.98 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.2331, allocations: 19.97 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2331, allocations: 0 / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.2331, allocations: 103.3 kB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2332, allocations: 0 / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002965/0.2335, allocations: 47.83 kB / 0.59 GB, free: 14.18 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.0001813/0.2336, allocations: 115.2 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.2341, allocations: 187.2 kB / 0.5903 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2341, allocations: 0 / 0.5903 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2343, allocations: 59.95 kB / 0.5904 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.0002195/0.2345, allocations: 12.7 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.2352, allocations: 265.3 kB / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.2355, allocations: 0.6982 MB / 0.5913 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.706e-05/0.2356, allocations: 15.98 kB / 0.5913 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.2356, allocations: 11.44 kB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.2356, allocations: 0 / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.004083/0.2397, allocations: 1.282 MB / 0.5926 GB, free: 11.48 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)