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-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_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.0008971/0.0008971, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008358/0.0008358, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.869/0.869, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 12 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001434/0.15, allocations: 1.225 MB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.1507, allocations: 0.5342 MB / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.1508, allocations: 0 / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.487e-05/0.1509, allocations: 11.88 kB / 0.5889 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.1509, allocations: 23.95 kB / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1512, allocations: 63.8 kB / 0.589 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.1513, allocations: 59.86 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1514, allocations: 12.22 kB / 0.5891 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1515, allocations: 43.89 kB / 0.5891 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.1516, allocations: 43.83 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1516, allocations: 0 / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.243e-05/0.1517, allocations: 47.91 kB / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1518, allocations: 15.97 kB / 0.5892 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.1518, allocations: 37.64 kB / 0.5893 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.152, allocations: 96.05 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.152, allocations: 0 / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.152, allocations: 0 / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.152, allocations: 0 / 0.5893 GB, free: 0.8906 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.0007124/0.1527, allocations: 448.6 kB / 0.5898 GB, free: 408 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1527, allocations: 12.03 kB / 0.5898 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.1528, allocations: 11.89 kB / 0.5898 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.153, allocations: 190.8 kB / 0.59 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.153, allocations: 8 kB / 0.59 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.153, allocations: 8 kB / 0.59 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.1533, allocations: 105.6 kB / 0.5901 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1533, allocations: 0 / 0.5901 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1533, allocations: 0 / 0.5901 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.1534, allocations: 4 kB / 0.5901 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.1538, allocations: 115.8 kB / 0.5902 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.1544, allocations: 364.6 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.1547, allocations: 102.5 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1547, allocations: 3.938 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.155, allocations: 123.4 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.155, allocations: 0 / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006564/0.1557, allocations: 322.4 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.1557, allocations: 55.41 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1558, allocations: 140.2 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1559, allocations: 29.7 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.1559, allocations: 100 kB / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.156, allocations: 31.7 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.156, allocations: 4 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1561, allocations: 326.8 kB / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1563, allocations: 63.95 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1565, allocations: 68 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1567, allocations: 97.66 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1567, allocations: 0 / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004389/0.1571, allocations: 219 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.1572, allocations: 39.89 kB / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1572, allocations: 0 / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1572, allocations: 3.953 kB / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1573, allocations: 27.97 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.1574, allocations: 4 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1575, allocations: 23.92 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1575, allocations: 4 kB / 0.5923 GB, free: 13.64 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.166e-05/0.1576, allocations: 121.8 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.1576, allocations: 7.906 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.1577, allocations: 16.72 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.1577, allocations: 11.95 kB / 0.5924 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1577, allocations: 0 / 0.5924 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1577, allocations: 0 / 0.5924 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1579, allocations: 201.5 kB / 0.5926 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1579, allocations: 0 / 0.5926 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.158, allocations: 27.91 kB / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.158, allocations: 0 / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.158, allocations: 0 / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1581, allocations: 0 / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1581, allocations: 8.422 kB / 0.5926 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.1585, allocations: 208.8 kB / 0.5928 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.1585, allocations: 81.02 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1586, allocations: 4 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1587, allocations: 19.97 kB / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.1588, allocations: 11.98 kB / 0.593 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1588, allocations: 7.953 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.904e-05/0.1589, allocations: 113 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1589, allocations: 0 / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002247/0.1591, allocations: 40 kB / 0.5931 GB, free: 12.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.1593, allocations: 111.2 kB / 0.5932 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.1597, allocations: 203.2 kB / 0.5934 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1597, allocations: 4 kB / 0.5934 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1599, allocations: 71.95 kB / 0.5935 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.1601, allocations: 11.98 kB / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.1606, allocations: 259 kB / 0.5937 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1609, allocations: 0.7082 MB / 0.5944 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.246e-05/0.1609, allocations: 11.98 kB / 0.5944 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.161, allocations: 11.44 kB / 0.5945 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.144e-06/0.161, allocations: 4 kB / 0.5945 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.003348/0.1643, allocations: 1.233 MB / 0.5957 GB, free: 9.992 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: