Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001172/0.001172, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002492, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001119/0.001119, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002548, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.052/1.052, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0857/1.138, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.818/0.818, allocations: 155.3 MB / 399.3 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3265/1.145, allocations: 49.13 MB / 448.4 MB, free: 5.977 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 449.7 MB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.389e-05, allocations: 4.141 kB / 449.8 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002257/0.002281, allocations: 0.6965 MB / 450.4 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 8.119e-05/0.002362, allocations: 15.92 kB / 450.5 MB, free: 3.957 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.002402, allocations: 0 / 450.5 MB, free: 3.957 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.992e-05/0.002472, allocations: 6.672 kB / 450.5 MB, free: 3.953 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.002508, allocations: 0.9844 kB / 450.5 MB, free: 3.953 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.452e-05/0.002553, allocations: 11.98 kB / 450.5 MB, free: 3.941 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.002643, allocations: 20.47 kB / 450.5 MB, free: 3.926 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.002766, allocations: 23.98 kB / 450.5 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.00283, allocations: 26.14 kB / 450.6 MB, free: 3.883 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.002872, allocations: 11.14 kB / 450.6 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.0029, allocations: 4 kB / 450.6 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.002913, allocations: 5.656 kB / 450.6 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.002947, allocations: 6.406 kB / 450.6 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.002982, allocations: 10.41 kB / 450.6 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.003089, allocations: 35.56 kB / 450.6 MB, free: 3.824 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-05/0.003108, allocations: 6 kB / 450.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003108, allocations: 0 / 450.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.003129, allocations: 0.875 kB / 450.6 MB, free: 3.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003877/0.003517, allocations: 251.5 kB / 450.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.003553, allocations: 12.03 kB / 450.9 MB, free: 3.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.003592, allocations: 12.92 kB / 450.9 MB, free: 3.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.003735, allocations: 121 kB / 451 MB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.003744, allocations: 384 / 451 MB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.003756, allocations: 9.031 kB / 451 MB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.003875, allocations: 57.55 kB / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.003882, allocations: 192 / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.003891, allocations: 2.016 kB / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.003898, allocations: 4.375 kB / 451.1 MB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.003926, allocations: 13.91 kB / 451.1 MB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.004296, allocations: 345.4 kB / 451.4 MB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.851e-05/0.004384, allocations: 177.9 kB / 451.6 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.004411, allocations: 80.14 kB / 451.7 MB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.004435, allocations: 75.28 kB / 451.8 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.004485, allocations: 114.5 kB / 451.9 MB, free: 2.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.824e-06/0.004486, allocations: 0 / 451.9 MB, free: 2.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.587e-05/0.004552, allocations: 34.64 kB / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.004615, allocations: 130.7 kB / 452 MB, free: 2.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.004709, allocations: 111.5 kB / 452.1 MB, free: 2.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.004718, allocations: 25.7 kB / 452.2 MB, free: 2.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.004779, allocations: 106 kB / 452.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/0.004785, allocations: 4 kB / 452.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.004817, allocations: 9.719 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.004913, allocations: 318.8 kB / 452.6 MB, free: 1.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.004921, allocations: 0.9844 kB / 452.6 MB, free: 1.707 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.004931, allocations: 4.891 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.004966, allocations: 13.8 kB / 452.6 MB, free: 1.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.00497, allocations: 3.938 kB / 452.6 MB, free: 1.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.909e-05/0.005049, allocations: 29.7 kB / 452.7 MB, free: 1.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.005064, allocations: 4.875 kB / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.005069, allocations: 0 / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.005084, allocations: 0.5 kB / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.005155, allocations: 8.484 kB / 452.7 MB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005159, allocations: 0.875 kB / 452.7 MB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.00518, allocations: 6.031 kB / 452.7 MB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.005188, allocations: 0 / 452.7 MB, free: 1.633 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 8.954e-05/0.005278, allocations: 196.6 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.00533, allocations: 104.9 kB / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.005382, allocations: 115.8 kB / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.333e-05/0.005436, allocations: 180.3 kB / 453.3 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.613e-05/0.005492, allocations: 184.2 kB / 453.4 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.051e-05/0.005542, allocations: 181.8 kB / 453.6 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.005719, allocations: 329.4 kB / 453.9 MB, free: 304 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/0.005748, allocations: 102.5 kB / 454 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.00578, allocations: 101 kB / 454.1 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.005834, allocations: 118.2 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-05/0.005884, allocations: 177.1 kB / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.005936, allocations: 180.2 kB / 454.6 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.098e-05/0.005987, allocations: 188.8 kB / 454.8 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.464e-05/0.006041, allocations: 180.5 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.006159, allocations: 309.1 kB / 455.3 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.006221, allocations: 180.2 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.0063, allocations: 105 kB / 455.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.006355, allocations: 181.6 kB / 455.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.006389, allocations: 113.1 kB / 455.8 MB, free: 14.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.469e-05/0.006413, allocations: 20.78 kB / 455.8 MB, free: 14.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006413, allocations: 0.7188 kB / 455.8 MB, free: 14.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.006609, allocations: 7.953 kB / 455.9 MB, free: 14.28 MB / 442.7 MB 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.0001142/0.006723, allocations: 158.6 kB / 456 MB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.27e-05/0.006786, allocations: 9.438 kB / 456 MB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.006792, allocations: 5.438 kB / 456 MB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.006795, allocations: 3.938 kB / 456 MB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.007112, allocations: 455.7 kB / 456.5 MB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.007362, allocations: 205.5 kB / 456.7 MB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.665e-05/0.007408, allocations: 71.19 kB / 456.7 MB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.08e-05/0.007429, allocations: 5.438 kB / 456.8 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.007469, allocations: 47.38 kB / 456.8 MB, free: 13.29 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007469, allocations: 0 / 456.8 MB, free: 13.29 MB / 442.7 MB Notification: Performance of Templates: time 0.002311/0.00978, allocations: 340.1 kB / 457.1 MB, free: 12.97 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.584359711036086]