Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.001303/0.001303, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.00153/0.00153, 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.9904/0.9904, 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.8419/0.8419, 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.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.035e-06/3.035e-06, allocations: 0 / 0.5212 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.233e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001705/0.001738, allocations: 0.6891 MB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.002765, allocations: 0.8479 MB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.002819, allocations: 1.5 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.002854, allocations: 3.938 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.939e-05/0.002943, allocations: 10.67 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.003066, allocations: 16.47 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.801e-05/0.003144, allocations: 47.84 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003248, allocations: 9.25 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.003351, allocations: 23.91 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.003396, allocations: 15.98 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003418, allocations: 4.656 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.003429, allocations: 4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.00345, allocations: 8.594 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.003474, allocations: 17.31 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.003565, allocations: 27.84 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.003567, allocations: 0 / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003569, allocations: 4 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.003574, allocations: 0.9688 kB / 0.5229 GB, free: 15.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003731/0.003947, allocations: 372.6 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.003994, allocations: 15.56 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.004026, allocations: 8.891 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.00411, allocations: 112.6 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.004123, allocations: 8.312 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.004131, allocations: 384 / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.004272, allocations: 66.92 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.00428, allocations: 192 / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.004287, allocations: 4.375 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.004294, allocations: 384 / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.004317, allocations: 12.5 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.004592, allocations: 245 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.004655, allocations: 35.55 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.004676, allocations: 16.73 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.0047, allocations: 0 / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.004722, allocations: 41.39 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.004723, allocations: 1.469 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001442/0.004867, allocations: 49.56 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.004895, allocations: 51.41 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/0.004971, allocations: 165.9 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.004981, allocations: 26.45 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.005033, allocations: 142.8 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.005052, allocations: 8.516 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.005082, allocations: 21.34 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.005199, allocations: 0.4884 MB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.005216, allocations: 4 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.005228, allocations: 4 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.00526, allocations: 19.62 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.005262, allocations: 0.5 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.618e-05/0.005328, allocations: 45.58 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.005344, allocations: 8.719 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.00535, allocations: 0.5625 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.005365, allocations: 3.938 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.005449, allocations: 17.42 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.005452, allocations: 0 / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.005476, allocations: 7.938 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.005484, allocations: 4.766 kB / 0.5248 GB, free: 13.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001182/0.005602, allocations: 156.6 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.005618, allocations: 1.844 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.91e-05/0.005717, allocations: 49.69 kB / 0.525 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.00572, allocations: 3.938 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.005722, allocations: 3.938 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.005725, allocations: 2.75 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.726e-05/0.005823, allocations: 101.2 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.005826, allocations: 4 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.005867, allocations: 7.984 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.005869, allocations: 4 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.005874, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.005876, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005877, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.005985, allocations: 202 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.005992, allocations: 8.031 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.006, allocations: 0 / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.006039, allocations: 11.98 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.006081, allocations: 4.875 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.006083, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.006122, allocations: 135.1 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006123, allocations: 0.75 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001341/0.006257, allocations: 8 kB / 0.5255 GB, free: 12.82 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 (3): * Single equations (assignments): 3 * 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.0001038/0.00636, allocations: 92.19 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.006435, allocations: 20.89 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.006438, allocations: 4 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.006458, allocations: 11.69 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.006654, allocations: 13.66 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.006917, allocations: 133.1 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.006953, allocations: 59.34 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.006974, allocations: 0 / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.007034, allocations: 78.2 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/0.007035, allocations: 0 / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.002464/0.009499, allocations: 0.8007 MB / 0.5267 GB, free: 11.59 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.96894563222304]