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.001925/0.001925, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.00219/0.00219, allocations: 173.3 kB / 22.77 MB, free: 1.641 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 1.65/1.65, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.415/1.415, allocations: 154.8 MB / 414.4 MB, free: 480 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 178] 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 2.124e-06/2.124e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.363 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.243e-05/3.456e-05, allocations: 3.844 kB / 0.5198 GB, free: 2.359 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003107/0.003142, allocations: 1.559 MB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.004499, allocations: 0.6177 MB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.004583, allocations: 0.5 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.004706, allocations: 12.89 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.004777, allocations: 24.62 kB / 0.522 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.005261, allocations: 111.5 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.005463, allocations: 100.3 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.005584, allocations: 20.12 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.0058, allocations: 60.52 kB / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.005897, allocations: 41.09 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.005928, allocations: 8 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.0061, allocations: 87.91 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.006165, allocations: 29.72 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.006224, allocations: 23.92 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.006532, allocations: 163.5 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.006537, allocations: 0 / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.006538, allocations: 0 / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.006546, allocations: 9.688 kB / 0.5226 GB, free: 15.51 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.0009224/0.007468, allocations: 485.4 kB / 0.5231 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.007508, allocations: 8.031 kB / 0.5231 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.007812, allocations: 33.61 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.008058, allocations: 141.8 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.008078, allocations: 8.375 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.008103, allocations: 12.34 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.008388, allocations: 87.48 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.008399, allocations: 192 / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.008413, allocations: 384 / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.008442, allocations: 7.938 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.008689, allocations: 57.73 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.009391, allocations: 327.6 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.009646, allocations: 73.22 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.009786, allocations: 43.66 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.00981, allocations: 0 / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.01009, allocations: 101.5 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.01009, allocations: 0.5625 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0005769/0.01067, allocations: 150.7 kB / 0.5241 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.01073, allocations: 59.94 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.01093, allocations: 212.7 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.01096, allocations: 34.92 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.01107, allocations: 150.7 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.01111, allocations: 31.73 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.01119, allocations: 40.39 kB / 0.5246 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002886/0.01148, allocations: 0.4961 MB / 0.5251 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.01165, allocations: 62.72 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.01181, allocations: 68.73 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.01208, allocations: 108.6 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01209, allocations: 0 / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004323/0.01252, allocations: 192.9 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.01256, allocations: 29.7 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01257, allocations: 0 / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.01259, allocations: 4 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.01273, allocations: 27 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01274, allocations: 3.938 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01285, allocations: 19.88 kB / 0.5256 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.01288, allocations: 11.98 kB / 0.5256 GB, free: 12.25 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 0.000154/0.01303, allocations: 164.5 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.01306, allocations: 7.953 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.0131, allocations: 16.78 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.01312, allocations: 9.484 kB / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01312, allocations: 0 / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01313, allocations: 3.938 kB / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.01335, allocations: 148.5 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01335, allocations: 0.5 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.01344, allocations: 14.67 kB / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.01345, allocations: 4 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01346, allocations: 0 / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01346, allocations: 0 / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01346, allocations: 0 / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.01386, allocations: 164.2 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.01388, allocations: 14.38 kB / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.01391, allocations: 3.984 kB / 0.5261 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01401, allocations: 11.98 kB / 0.5261 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.01409, allocations: 11.98 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.0141, allocations: 0 / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001286/0.01423, allocations: 162 kB / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01423, allocations: 1.562 kB / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002498/0.01448, allocations: 35.94 kB / 0.5263 GB, free: 11.43 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.0002289/0.01471, allocations: 124.5 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.01516, allocations: 177.1 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01516, allocations: 6.438 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.01533, allocations: 47.66 kB / 0.5266 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01556, allocations: 26.23 kB / 0.5267 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.01617, allocations: 218.6 kB / 0.5269 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.87e-05/0.01627, allocations: 87.72 kB / 0.527 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.993e-05/0.01634, allocations: 13.38 kB / 0.527 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.01639, allocations: 20.48 kB / 0.527 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01639, allocations: 3.938 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.005295/0.02169, allocations: 1.491 MB / 0.5285 GB, free: 9.223 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: 6.674081271979958]