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.0103/0.0103, allocations: 99.81 kB / 15.73 MB, free: 6.492 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.001913/0.001914, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.629, allocations: 80.91 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003796/0.6329, allocations: 1.554 MB / 0.6661 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.6344, allocations: 0.5739 MB / 0.6667 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.6345, allocations: 0 / 0.6667 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.6347, allocations: 12.83 kB / 0.6667 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.003e-05/0.6348, allocations: 14.14 kB / 0.6667 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.6354, allocations: 99.06 kB / 0.6668 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.6357, allocations: 95.58 kB / 0.6669 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.6358, allocations: 22.47 kB / 0.6669 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.6361, allocations: 44.47 kB / 0.667 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.6362, allocations: 48.89 kB / 0.667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.6363, allocations: 8.062 kB / 0.667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.6365, allocations: 87.94 kB / 0.6671 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.6366, allocations: 20.06 kB / 0.6671 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.175e-05/0.6367, allocations: 50.28 kB / 0.6672 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.637, allocations: 133.7 kB / 0.6673 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.637, allocations: 0 / 0.6673 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.637, allocations: 0 / 0.6673 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.637, allocations: 0 / 0.6673 GB, free: 5.5 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.0008336/0.6379, allocations: 452.9 kB / 0.6677 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6379, allocations: 10.91 kB / 0.6677 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.638, allocations: 12.77 kB / 0.6677 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.6382, allocations: 205.6 kB / 0.6679 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6382, allocations: 2.125 kB / 0.6679 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.6382, allocations: 8.156 kB / 0.6679 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.6386, allocations: 107.3 kB / 0.668 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6386, allocations: 0 / 0.668 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.6386, allocations: 9.016 kB / 0.6681 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.6386, allocations: 3.969 kB / 0.6681 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.639, allocations: 97.16 kB / 0.6682 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.6396, allocations: 345.2 kB / 0.6685 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.64, allocations: 98.7 kB / 0.6686 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.6401, allocations: 58.53 kB / 0.6686 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.6402, allocations: 5.438 kB / 0.6686 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.6405, allocations: 109.5 kB / 0.6687 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.6405, allocations: 4 kB / 0.6687 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006725/0.6412, allocations: 203.4 kB / 0.6689 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.6413, allocations: 52.84 kB / 0.669 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.6414, allocations: 142 kB / 0.6691 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.6414, allocations: 31.08 kB / 0.6692 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.6415, allocations: 99.97 kB / 0.6692 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.6415, allocations: 31.8 kB / 0.6693 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.6416, allocations: 29.14 kB / 0.6693 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.6417, allocations: 325.6 kB / 0.6696 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.6418, allocations: 57.33 kB / 0.6697 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.642, allocations: 55.8 kB / 0.6697 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.6424, allocations: 148.5 kB / 0.6699 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6424, allocations: 0 / 0.6699 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000464/0.6429, allocations: 204.6 kB / 0.6701 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.6429, allocations: 31.95 kB / 0.6701 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.6429, allocations: 4 kB / 0.6701 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6429, allocations: 0 / 0.6701 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.6431, allocations: 21.12 kB / 0.6701 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6431, allocations: 0 / 0.6701 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.6433, allocations: 22.25 kB / 0.6701 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.6433, allocations: 6.531 kB / 0.6701 GB, free: 3.035 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 9.352e-05/0.6434, allocations: 125.5 kB / 0.6703 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.6434, allocations: 11.2 kB / 0.6703 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.6435, allocations: 10.81 kB / 0.6703 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6435, allocations: 7.688 kB / 0.6703 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6435, allocations: 0 / 0.6703 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6435, allocations: 1.406 kB / 0.6703 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.6437, allocations: 203.9 kB / 0.6705 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6437, allocations: 0 / 0.6705 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6438, allocations: 19.25 kB / 0.6705 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.6438, allocations: 0 / 0.6705 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.6438, allocations: 1.062 kB / 0.6705 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6438, allocations: 5.062 kB / 0.6705 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6438, allocations: 0 / 0.6705 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.6443, allocations: 194.2 kB / 0.6707 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.6443, allocations: 83.69 kB / 0.6708 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.6444, allocations: 5.281 kB / 0.6708 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.6445, allocations: 20.34 kB / 0.6708 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.6446, allocations: 13.14 kB / 0.6708 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.6446, allocations: 6.688 kB / 0.6708 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.6447, allocations: 105.5 kB / 0.6709 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6447, allocations: 0 / 0.6709 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002769/0.6449, allocations: 44.05 kB / 0.671 GB, free: 2.293 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.0001718/0.6451, allocations: 112.8 kB / 0.6711 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.6456, allocations: 189.6 kB / 0.6713 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6456, allocations: 0 / 0.6713 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.6458, allocations: 69.66 kB / 0.6713 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.646, allocations: 5.094 kB / 0.6713 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.6466, allocations: 239 kB / 0.6716 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.6468, allocations: 0.6995 MB / 0.6722 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.047e-05/0.6468, allocations: 19.66 kB / 0.6723 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.6469, allocations: 11.38 kB / 0.6723 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.6469, allocations: 4 kB / 0.6723 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.004817/0.6517, allocations: 1.411 MB / 0.6736 GB, free: 424 kB / 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)