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.0008358/0.000836, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0009574/0.0009576, allocations: 168.7 kB / 15.95 MB, free: 204 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.563/1.563, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.105/1.105, allocations: 135.3 MB / 426.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005537/0.0005538, allocations: 8 kB / 0.507 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2208, allocations: 82.31 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001606/0.2225, allocations: 1.242 MB / 0.5886 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.2234, allocations: 0.5341 MB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.2235, allocations: 0 / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.598e-05/0.2236, allocations: 3.938 kB / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.2237, allocations: 19.86 kB / 0.5891 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.224, allocations: 71.86 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.2241, allocations: 79.7 kB / 0.5893 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2243, allocations: 16.22 kB / 0.5893 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2244, allocations: 39.83 kB / 0.5893 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.2245, allocations: 35.84 kB / 0.5894 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2245, allocations: 8 kB / 0.5894 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.402e-05/0.2246, allocations: 51.89 kB / 0.5894 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.2247, allocations: 19.91 kB / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.2247, allocations: 33.7 kB / 0.5895 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2249, allocations: 92.05 kB / 0.5896 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2249, allocations: 0 / 0.5896 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2249, allocations: 0 / 0.5896 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2249, allocations: 0 / 0.5896 GB, free: 0.7344 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.0007933/0.2257, allocations: 464.5 kB / 0.59 GB, free: 232 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2257, allocations: 8.031 kB / 0.59 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.2258, allocations: 11.89 kB / 0.59 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.2261, allocations: 186.9 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2261, allocations: 7.984 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.2261, allocations: 8 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.2264, allocations: 113.6 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2264, allocations: 7.938 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2265, allocations: 0 / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.2265, allocations: 8 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.2268, allocations: 103.9 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/0.2275, allocations: 364.6 kB / 0.5908 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.2278, allocations: 110.5 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.228, allocations: 68.88 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.228, allocations: 4 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.2284, allocations: 119.3 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.2284, allocations: 0 / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006515/0.229, allocations: 241.4 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.2291, allocations: 55.39 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2293, allocations: 135.9 kB / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2293, allocations: 33.7 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.2294, allocations: 100 kB / 0.5916 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2294, allocations: 27.72 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.2294, allocations: 0 / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2295, allocations: 326.8 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.2297, allocations: 68 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.2299, allocations: 72.17 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.2301, allocations: 93.66 kB / 0.5922 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2301, allocations: 96 / 0.5922 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004356/0.2306, allocations: 219 kB / 0.5924 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.2306, allocations: 37.66 kB / 0.5924 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.2306, allocations: 3.984 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2307, allocations: 4 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2308, allocations: 19.98 kB / 0.5924 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2308, allocations: 4 kB / 0.5924 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.231, allocations: 23.92 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.231, allocations: 7.984 kB / 0.5925 GB, free: 13.5 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.969e-05/0.2311, allocations: 121.8 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.2311, allocations: 7.906 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.2312, allocations: 20.66 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.2312, allocations: 4 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2312, allocations: 0 / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2312, allocations: 3.938 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.2314, allocations: 205.5 kB / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2314, allocations: 0 / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2315, allocations: 23.98 kB / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2316, allocations: 0 / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2316, allocations: 0 / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2316, allocations: 3.953 kB / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2316, allocations: 3.984 kB / 0.5929 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.232, allocations: 196.9 kB / 0.593 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2321, allocations: 93 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.2322, allocations: 0 / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2323, allocations: 19.98 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.2324, allocations: 23.92 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.2324, allocations: 0 / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.2325, allocations: 105.3 kB / 0.5933 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2325, allocations: 0 / 0.5933 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002549/0.2327, allocations: 39.98 kB / 0.5933 GB, free: 12.54 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.0001691/0.2329, allocations: 115.2 kB / 0.5934 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.2334, allocations: 215.2 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2334, allocations: 0 / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.2336, allocations: 76.05 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.2338, allocations: 7.234 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.2344, allocations: 255.2 kB / 0.5939 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2347, allocations: 0.7004 MB / 0.5946 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.419e-05/0.2348, allocations: 23.91 kB / 0.5947 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.2349, allocations: 15.44 kB / 0.5947 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2349, allocations: 0 / 0.5947 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.003971/0.2389, allocations: 1.231 MB / 0.5959 GB, free: 9.848 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)