Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001404/0.001404, allocations: 84.73 kB / 19.44 MB, free: 360 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.001561/0.001561, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.334/1.334, allocations: 154.6 MB / 414.2 MB, free: 0.6133 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 178] 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.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 0.5197 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.139e-05, allocations: 4.656 kB / 0.5197 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001976/0.002008, allocations: 0.7179 MB / 0.5204 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002764/0.002284, allocations: 51.83 kB / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.002339, allocations: 9.75 kB / 0.5205 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.002509, allocations: 17.61 kB / 0.5205 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.002564, allocations: 16.08 kB / 0.5205 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.002734, allocations: 29.61 kB / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.002974, allocations: 119.7 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.003206, allocations: 89.62 kB / 0.5207 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.003346, allocations: 97.2 kB / 0.5208 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.003455, allocations: 71.8 kB / 0.5209 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.003498, allocations: 12 kB / 0.5209 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.099e-05/0.003529, allocations: 12 kB / 0.5209 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.003613, allocations: 49.19 kB / 0.5209 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.003699, allocations: 51.84 kB / 0.521 GB, free: 1.191 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.00402, allocations: 235.2 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004022, allocations: 1.312 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004023, allocations: 0 / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.004028, allocations: 0 / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006498/0.004678, allocations: 429.6 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.004719, allocations: 14.72 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.004834, allocations: 40.8 kB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.005143, allocations: 197.4 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.005167, allocations: 12.75 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.0052, allocations: 16.36 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.005801, allocations: 337.6 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.005812, allocations: 192 / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.005842, allocations: 12.91 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.005878, allocations: 16.61 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.006281, allocations: 267.8 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.007603, allocations: 0.9149 MB / 0.5234 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.007744, allocations: 165.1 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.007803, allocations: 85.77 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.007849, allocations: 79.22 kB / 0.5237 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.989e-05/0.007928, allocations: 105.8 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.007929, allocations: 0 / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001047/0.008034, allocations: 46.55 kB / 0.5239 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.008125, allocations: 126.7 kB / 0.524 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.008484, allocations: 272.5 kB / 0.5242 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.008509, allocations: 31.11 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.008691, allocations: 183.9 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-06/0.008697, allocations: 3.984 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.008766, allocations: 33.66 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.008968, allocations: 324 kB / 0.5248 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.009057, allocations: 51.95 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.009189, allocations: 93.91 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.00937, allocations: 109 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009373, allocations: 0 / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003747/0.009747, allocations: 172.6 kB / 0.5252 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.009766, allocations: 8 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.009772, allocations: 0 / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.009798, allocations: 4 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.009911, allocations: 19.98 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.009917, allocations: 3 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/0.01001, allocations: 27.88 kB / 0.5253 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.01004, allocations: 11.98 kB / 0.5253 GB, free: 12.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.000232/0.01027, allocations: 245 kB / 0.5255 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.01037, allocations: 120.9 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.03e-05/0.01046, allocations: 125.4 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001164/0.01058, allocations: 176.3 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000108/0.01069, allocations: 181.7 kB / 0.5261 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001047/0.01079, allocations: 188.1 kB / 0.5263 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.01142, allocations: 424.8 kB / 0.5267 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.544e-05/0.01149, allocations: 108.9 kB / 0.5268 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.01156, allocations: 105.6 kB / 0.5269 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.994e-05/0.01166, allocations: 177.3 kB / 0.527 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.01178, allocations: 188.2 kB / 0.5272 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001097/0.01189, allocations: 184.2 kB / 0.5274 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001015/0.012, allocations: 180.7 kB / 0.5276 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.01222, allocations: 311.7 kB / 0.5279 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.01231, allocations: 123 kB / 0.528 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.01243, allocations: 180.3 kB / 0.5281 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.01258, allocations: 108.9 kB / 0.5283 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.01269, allocations: 180.3 kB / 0.5284 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.01276, allocations: 108.9 kB / 0.5285 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002253/0.01299, allocations: 198.6 kB / 0.5287 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01299, allocations: 3.938 kB / 0.5287 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003116/0.0133, allocations: 43.77 kB / 0.5288 GB, free: 8.844 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002242/0.01352, allocations: 166.5 kB / 0.5289 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.01369, allocations: 69.98 kB / 0.529 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01369, allocations: 0 / 0.529 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.01369, allocations: 0 / 0.529 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.01436, allocations: 475.6 kB / 0.5294 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.01506, allocations: 446.2 kB / 0.5299 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.01527, allocations: 170 kB / 0.53 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.713e-05/0.01533, allocations: 20.48 kB / 0.53 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.01539, allocations: 12.5 kB / 0.5301 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.01539, allocations: 9.219 kB / 0.5301 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.00401/0.0194, allocations: 0.9813 MB / 0.531 GB, free: 6.523 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.927315859938972]