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.001478/0.001478, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001118/0.001118, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9875/0.9875, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.766/0.766, allocations: 154.8 MB / 415.1 MB, free: 496 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 9.32e-07/9.32e-07, allocations: 0 / 0.5206 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.939e-05, allocations: 6.25 kB / 0.5206 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001267/0.001286, allocations: 0.6913 MB / 0.5213 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.002136, allocations: 0.8446 MB / 0.5221 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.002176, allocations: 4 kB / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.002203, allocations: 3.938 kB / 0.5221 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.00227, allocations: 14.22 kB / 0.5222 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.00238, allocations: 15.97 kB / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.002459, allocations: 43.86 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.00255, allocations: 8 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.002632, allocations: 25.62 kB / 0.5223 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.002673, allocations: 15.92 kB / 0.5223 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.002693, allocations: 4 kB / 0.5223 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.002702, allocations: 4 kB / 0.5223 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.002719, allocations: 12.72 kB / 0.5223 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.002743, allocations: 11.94 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.479e-05/0.002818, allocations: 25.31 kB / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00282, allocations: 4 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.002821, allocations: 0 / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.002825, allocations: 0 / 0.5223 GB, free: 0.5195 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003594/0.003184, allocations: 373.9 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.003218, allocations: 12.03 kB / 0.5227 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.003257, allocations: 8.891 kB / 0.5227 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.00336, allocations: 121.8 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.003369, allocations: 4.375 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.003379, allocations: 4.312 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.003509, allocations: 65.62 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.003517, allocations: 4.125 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.003527, allocations: 4.375 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.003536, allocations: 4.359 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.00357, allocations: 7.938 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.003865, allocations: 263.8 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.003933, allocations: 35.58 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.00396, allocations: 16.19 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.003977, allocations: 0 / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.003998, allocations: 38.36 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.003998, allocations: 0 / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001544/0.004153, allocations: 55.28 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.004184, allocations: 51.41 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.004276, allocations: 165.9 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.004287, allocations: 25.7 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.004342, allocations: 142.8 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.00436, allocations: 4.891 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.004386, allocations: 19.38 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.004512, allocations: 497.5 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.004524, allocations: 4 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.004537, allocations: 7.984 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.004566, allocations: 15.69 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.004567, allocations: 1.156 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.269e-05/0.00462, allocations: 53.58 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.00463, allocations: 7.938 kB / 0.5243 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.004634, allocations: 0.6875 kB / 0.5243 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.004647, allocations: 4 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.004711, allocations: 9.281 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.004717, allocations: 7.984 kB / 0.5243 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.004739, allocations: 9.094 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.004743, allocations: 0 / 0.5243 GB, free: 14.32 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 6.139e-05/0.004804, allocations: 152.6 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.004817, allocations: 7.25 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.019e-05/0.004908, allocations: 61.55 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.00491, allocations: 4 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.004911, allocations: 0 / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.004913, allocations: 0 / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.705e-05/0.005, allocations: 120.6 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005, allocations: 4 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.005027, allocations: 11.98 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.005028, allocations: 2.812 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.005032, allocations: 384 / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005033, allocations: 3.938 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005034, allocations: 0 / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.018e-05/0.005124, allocations: 195.9 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.005129, allocations: 4 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-06/0.005136, allocations: 0 / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.232e-05/0.005178, allocations: 11.92 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.005199, allocations: 9.375 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.005201, allocations: 4 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.005237, allocations: 131.5 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005237, allocations: 0 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001318/0.005369, allocations: 8.5 kB / 0.525 GB, free: 13.54 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 5.849e-05/0.005428, allocations: 97.38 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.952e-05/0.005497, allocations: 19.67 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.41e-07/0.005498, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.00552, allocations: 11.69 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.005704, allocations: 24.7 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.005964, allocations: 133.3 kB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.659e-05/0.006001, allocations: 59.34 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.466e-05/0.006015, allocations: 2.125 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.006043, allocations: 12.5 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.006044, allocations: 0 / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.002099/0.008143, allocations: 0.722 MB / 0.526 GB, free: 12.43 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.9262368308845907]