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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008926/0.0008926, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8749/0.8749, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7299/0.7299, allocations: 154.9 MB / 415.1 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5211 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.599e-05, allocations: 4.625 kB / 0.5211 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002971/0.002997, allocations: 1.588 MB / 0.5226 GB, free: 4 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.004183, allocations: 0.6179 MB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.004262, allocations: 3.938 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.004373, allocations: 7.922 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.004436, allocations: 17.78 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.004929, allocations: 119.5 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.005092, allocations: 100.2 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.005206, allocations: 8.234 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.005411, allocations: 68.8 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.005495, allocations: 43.88 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.005517, allocations: 4.5 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.005664, allocations: 95.84 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.005712, allocations: 20.58 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.005754, allocations: 29.94 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.005964, allocations: 139.6 kB / 0.5239 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.005967, allocations: 4 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005968, allocations: 0 / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.005972, allocations: 3.938 kB / 0.5239 GB, free: 14.73 MB / 0.4948 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.0004818/0.006454, allocations: 479 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.006488, allocations: 12.02 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.006642, allocations: 30.34 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.006775, allocations: 148.4 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.006785, allocations: 4.375 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.006796, allocations: 5.312 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.006925, allocations: 86.84 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.006932, allocations: 1.688 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.00694, allocations: 4.375 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.006963, allocations: 11.92 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.006996, allocations: 11.98 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.007331, allocations: 305.7 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.007398, allocations: 35.05 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.007421, allocations: 16.75 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.007434, allocations: 4.062 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.007547, allocations: 85.62 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.007549, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001699/0.007719, allocations: 86.17 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.007745, allocations: 60.77 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.007833, allocations: 203.7 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.007847, allocations: 25.7 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.007905, allocations: 150.8 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.007924, allocations: 33.55 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.007962, allocations: 31.36 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.008071, allocations: 0.4923 MB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.008108, allocations: 37.69 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.008137, allocations: 41.69 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.008201, allocations: 63.8 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.008205, allocations: 7.938 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001197/0.008324, allocations: 141.3 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.008349, allocations: 31.89 kB / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.008355, allocations: 4 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.008365, allocations: 0 / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.008436, allocations: 21.77 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.008438, allocations: 3.938 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.00849, allocations: 15.94 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.008499, allocations: 4 kB / 0.5265 GB, free: 11.85 MB / 0.4948 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 6.715e-05/0.008566, allocations: 169.5 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.00858, allocations: 11.94 kB / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.008605, allocations: 13.72 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.008614, allocations: 4 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008615, allocations: 7.188 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.008619, allocations: 3.984 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.594e-05/0.008705, allocations: 117.2 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008707, allocations: 0 / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.00874, allocations: 15.98 kB / 0.5268 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008742, allocations: 3.938 kB / 0.5268 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.008748, allocations: 0 / 0.5268 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.008749, allocations: 0 / 0.5268 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.008751, allocations: 3.984 kB / 0.5268 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.008867, allocations: 123.4 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.008882, allocations: 19.83 kB / 0.5269 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.008895, allocations: 0 / 0.5269 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.008942, allocations: 15.98 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.008976, allocations: 11.98 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.008982, allocations: 3.984 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.009027, allocations: 144.8 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009027, allocations: 1.5 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001489/0.009176, allocations: 36 kB / 0.5271 GB, free: 11.11 MB / 0.4948 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.0001216/0.009297, allocations: 115.2 kB / 0.5272 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.009428, allocations: 134 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.00943, allocations: 4 kB / 0.5274 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.009467, allocations: 23.67 kB / 0.5274 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.009611, allocations: 24.41 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.01005, allocations: 222.2 kB / 0.5276 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.192e-05/0.01009, allocations: 63.34 kB / 0.5277 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.01012, allocations: 9.484 kB / 0.5277 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.01019, allocations: 86.19 kB / 0.5278 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/0.01019, allocations: 3.938 kB / 0.5278 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.003088/0.01328, allocations: 1.625 MB / 0.5294 GB, free: 8.816 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3688128353096545]