Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000934/0.000934, 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.000948/0.000948, 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.8755/0.8755, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7736/0.7736, allocations: 154.6 MB / 414.8 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5207 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.263e-05, allocations: 6.812 kB / 0.5207 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001987/0.002009, allocations: 1.589 MB / 0.5223 GB, free: 380 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007237/0.002733, allocations: 0.6173 MB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.00279, allocations: 4.438 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 8.547e-05/0.002875, allocations: 9.422 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.002917, allocations: 23.73 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.003239, allocations: 108.6 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.003348, allocations: 99.62 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.058e-05/0.003429, allocations: 21.73 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.003561, allocations: 63.81 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.003618, allocations: 39.88 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.003634, allocations: 8 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.003731, allocations: 92.89 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.003765, allocations: 27.89 kB / 0.5233 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.003795, allocations: 24.61 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.003944, allocations: 143.5 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003946, allocations: 1.281 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003947, allocations: 0 / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.00395, allocations: 0 / 0.5235 GB, free: 15.1 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.0004456/0.004395, allocations: 486.3 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.00443, allocations: 9.031 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.004577, allocations: 41.34 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.004695, allocations: 137.1 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004706, allocations: 8.359 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.004715, allocations: 6.344 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.004842, allocations: 82.91 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.00485, allocations: 192 / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.004857, allocations: 384 / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.004877, allocations: 7.938 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.00491, allocations: 17.27 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.005214, allocations: 304.2 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.052e-05/0.005275, allocations: 36.52 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.0053, allocations: 19.75 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.005312, allocations: 0 / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.005416, allocations: 85.89 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.005417, allocations: 0 / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001564/0.005573, allocations: 83.12 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.005597, allocations: 59.34 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.00587, allocations: 199.1 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.005882, allocations: 29.64 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.005937, allocations: 151.3 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.005955, allocations: 31.73 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.005994, allocations: 32.39 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.006092, allocations: 0.4962 MB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.006127, allocations: 38.75 kB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.006157, allocations: 41.69 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.006211, allocations: 53.39 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006213, allocations: 4.562 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001269/0.00634, allocations: 149 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.006363, allocations: 38.19 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006367, allocations: 1.438 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006379, allocations: 4 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.006451, allocations: 15.98 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006453, allocations: 0 / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.006506, allocations: 18.44 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.006516, allocations: 11.94 kB / 0.5261 GB, free: 12.21 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 7.146e-05/0.006587, allocations: 160.5 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.006602, allocations: 15.89 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.006626, allocations: 12.77 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.006636, allocations: 10.42 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006637, allocations: 0 / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.00664, allocations: 4 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.006729, allocations: 121.2 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.00673, allocations: 0 / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.006766, allocations: 15.98 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.006769, allocations: 5.688 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.006775, allocations: 0 / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006775, allocations: 0 / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006776, allocations: 0 / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.006887, allocations: 120.4 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.006901, allocations: 20.84 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.006914, allocations: 0 / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.006955, allocations: 12.92 kB / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.00699, allocations: 11.98 kB / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.006995, allocations: 0 / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.00704, allocations: 149.2 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00704, allocations: 0 / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001481/0.007189, allocations: 36 kB / 0.5268 GB, free: 11.48 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.00012/0.007309, allocations: 123.2 kB / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.007437, allocations: 134.7 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007438, allocations: 0 / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.007473, allocations: 27.67 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.007614, allocations: 18.95 kB / 0.5271 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.008043, allocations: 220.1 kB / 0.5273 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.9e-05/0.008072, allocations: 63.34 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.008107, allocations: 5.281 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.008173, allocations: 86.19 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.008173, allocations: 0.6562 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.003261/0.01143, allocations: 1.625 MB / 0.529 GB, free: 9.195 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.260775640141219]