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.001398/0.001398, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 191 kB / 16.53 MB, free: 6.391 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.572/1.572, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.064/1.064, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 60.25 kB / 0.5053 GB, free: 5.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2131, allocations: 80.92 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003715/0.2169, allocations: 1.533 MB / 0.5859 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2182, allocations: 0.5821 MB / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.2183, allocations: 0 / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.2185, allocations: 11.86 kB / 0.5864 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.167e-05/0.2185, allocations: 11.81 kB / 0.5864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.2191, allocations: 95.69 kB / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.2192, allocations: 95.66 kB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2194, allocations: 28.2 kB / 0.5867 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2195, allocations: 43.84 kB / 0.5867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2197, allocations: 43.83 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.2197, allocations: 11.94 kB / 0.5868 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.2198, allocations: 63.94 kB / 0.5868 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.2199, allocations: 23.92 kB / 0.5868 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.22, allocations: 39.73 kB / 0.5869 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.2202, allocations: 135.8 kB / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2202, allocations: 0 / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2202, allocations: 0 / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2202, allocations: 0 / 0.587 GB, free: 1.852 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.0009388/0.2212, allocations: 464.6 kB / 0.5874 GB, free: 1.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2213, allocations: 12.03 kB / 0.5875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.2213, allocations: 8.844 kB / 0.5875 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2216, allocations: 192.1 kB / 0.5876 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2216, allocations: 4.375 kB / 0.5877 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.2216, allocations: 4.375 kB / 0.5877 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.2219, allocations: 105.9 kB / 0.5878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.222, allocations: 0 / 0.5878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.222, allocations: 7.984 kB / 0.5878 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.222, allocations: 4 kB / 0.5878 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.2223, allocations: 87.92 kB / 0.5879 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.223, allocations: 348.7 kB / 0.5882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.2234, allocations: 90.45 kB / 0.5883 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.2236, allocations: 60.88 kB / 0.5883 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.2236, allocations: 4 kB / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.224, allocations: 111.3 kB / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.224, allocations: 0 / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007312/0.2247, allocations: 217.4 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2248, allocations: 55.41 kB / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2249, allocations: 135.9 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.2249, allocations: 29.7 kB / 0.5889 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.225, allocations: 100.1 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.2251, allocations: 35.45 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.2251, allocations: 21.72 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2252, allocations: 322.8 kB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.2255, allocations: 60.06 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.2256, allocations: 71.81 kB / 0.5894 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.226, allocations: 134.5 kB / 0.5896 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.226, allocations: 0 / 0.5896 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004634/0.2265, allocations: 198.8 kB / 0.5898 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.2265, allocations: 41.69 kB / 0.5898 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2266, allocations: 7.938 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2266, allocations: 0 / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2267, allocations: 15.98 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2267, allocations: 0 / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2269, allocations: 27.83 kB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2269, allocations: 3.984 kB / 0.5899 GB, free: 14.68 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.0001022/0.227, allocations: 121.8 kB / 0.59 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.2271, allocations: 11.91 kB / 0.59 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.2271, allocations: 16.7 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.2271, allocations: 4 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2271, allocations: 0 / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2271, allocations: 0 / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.2274, allocations: 205.5 kB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2274, allocations: 4 kB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.2275, allocations: 11.98 kB / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.2275, allocations: 4 kB / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2275, allocations: 4 kB / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2275, allocations: 7.922 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2276, allocations: 0 / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.228, allocations: 181.3 kB / 0.5904 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.2281, allocations: 89 kB / 0.5905 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.2281, allocations: 0 / 0.5905 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2282, allocations: 15.97 kB / 0.5905 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.2283, allocations: 15.98 kB / 0.5905 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.2283, allocations: 3.984 kB / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.852e-05/0.2284, allocations: 109.8 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2284, allocations: 0 / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002935/0.2287, allocations: 51.84 kB / 0.5907 GB, free: 13.75 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.0002069/0.229, allocations: 111.2 kB / 0.5908 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.2295, allocations: 191.2 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2295, allocations: 4 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.2297, allocations: 67.94 kB / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2299, allocations: 6.5 kB / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.2306, allocations: 247.5 kB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2309, allocations: 0.6924 MB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.159e-05/0.231, allocations: 11.98 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.231, allocations: 15.42 kB / 0.592 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.231, allocations: 0 / 0.592 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.005041/0.2361, allocations: 1.4 MB / 0.5933 GB, free: 10.95 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)