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.001383/0.001383, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00157/0.00157, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.53/1.53, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.117/1.117, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.28 kB / 0.5048 GB, free: 5.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2209, allocations: 80.93 MB / 0.5839 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.004471/0.2254, allocations: 1.593 MB / 0.5854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2269, allocations: 0.5766 MB / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.2269, allocations: 0 / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.2272, allocations: 7.922 kB / 0.586 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.515e-05/0.2273, allocations: 19.8 kB / 0.586 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.228, allocations: 79.84 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.2282, allocations: 99.64 kB / 0.5862 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.2284, allocations: 20.22 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.2286, allocations: 47.83 kB / 0.5863 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.2288, allocations: 47.83 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.2288, allocations: 8 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.229, allocations: 59.89 kB / 0.5864 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.2291, allocations: 23.92 kB / 0.5864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.2292, allocations: 43.72 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.2295, allocations: 135.9 kB / 0.5866 GB, free: 2.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.2295, allocations: 0 / 0.5866 GB, free: 2.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.2295, allocations: 0 / 0.5866 GB, free: 2.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.2295, allocations: 0 / 0.5866 GB, free: 2.152 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.001151/0.2307, allocations: 456.6 kB / 0.587 GB, free: 1.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/0.2308, allocations: 15.97 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.2309, allocations: 12.84 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.2312, allocations: 192.1 kB / 0.5872 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2312, allocations: 8.359 kB / 0.5872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2312, allocations: 4.375 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.2317, allocations: 101.9 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2317, allocations: 0 / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.2317, allocations: 0 / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.2318, allocations: 7.984 kB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.2321, allocations: 95.86 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.2329, allocations: 340.7 kB / 0.5877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.2333, allocations: 98.45 kB / 0.5878 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2335, allocations: 60.88 kB / 0.5879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.2335, allocations: 0 / 0.5879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004681/0.234, allocations: 111.3 kB / 0.588 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.234, allocations: 0 / 0.588 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007551/0.2348, allocations: 221.3 kB / 0.5882 GB, free: 292 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.2348, allocations: 51.41 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.235, allocations: 143.9 kB / 0.5884 GB, free: 76 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.235, allocations: 29.7 kB / 0.5884 GB, free: 40 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2352, allocations: 96.12 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.2352, allocations: 27.56 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.2353, allocations: 25.7 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2355, allocations: 326.8 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.2357, allocations: 55.95 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2359, allocations: 67.5 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.2362, allocations: 142.4 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.2363, allocations: 0 / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004749/0.2367, allocations: 199.2 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.735e-05/0.2368, allocations: 33.7 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2368, allocations: 0 / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2368, allocations: 0 / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.237, allocations: 23.91 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.237, allocations: 4 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.2372, allocations: 23.81 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2372, allocations: 11.97 kB / 0.5894 GB, free: 14.98 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.0001405/0.2373, allocations: 125.8 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.2374, allocations: 7.906 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.2374, allocations: 12.72 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.2374, allocations: 7.984 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2375, allocations: 0 / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2375, allocations: 0 / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.2377, allocations: 197.6 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2377, allocations: 3.938 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2378, allocations: 19.97 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2378, allocations: 4 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.2378, allocations: 4 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2378, allocations: 0 / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2378, allocations: 0 / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.2383, allocations: 185.2 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.2384, allocations: 89 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.2384, allocations: 4 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2385, allocations: 11.98 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.2386, allocations: 15.98 kB / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2386, allocations: 3.984 kB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.161e-05/0.2387, allocations: 113.8 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2387, allocations: 0 / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002681/0.239, allocations: 39.84 kB / 0.5902 GB, free: 14.05 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.0002218/0.2392, allocations: 127.2 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.2398, allocations: 183.3 kB / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2398, allocations: 0 / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.24, allocations: 63.89 kB / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2403, allocations: 14.17 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.241, allocations: 259.6 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.2413, allocations: 0.7041 MB / 0.5915 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.018e-05/0.2414, allocations: 11.98 kB / 0.5915 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.2415, allocations: 15.42 kB / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2415, allocations: 0 / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.004322/0.2458, allocations: 1.323 MB / 0.5928 GB, free: 11.3 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)