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.002302/0.002302, allocations: 85.48 kB / 19.44 MB, free: 344 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.001968/0.001968, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.336/1.336, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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.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.134e-06/2.134e-06, allocations: 0 / 0.5199 GB, free: 1.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.407e-05, allocations: 6.312 kB / 0.5199 GB, free: 1.141 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001891/0.001925, allocations: 0.6401 MB / 0.5205 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.002088, allocations: 20.61 kB / 0.5206 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.00213, allocations: 0 / 0.5206 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.002247, allocations: 9.781 kB / 0.5206 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.749e-05/0.002285, allocations: 0 / 0.5206 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.418e-05/0.002359, allocations: 9.406 kB / 0.5206 GB, free: 500 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.456e-05/0.002453, allocations: 27.42 kB / 0.5206 GB, free: 476 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.002581, allocations: 15.98 kB / 0.5206 GB, free: 460 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.002634, allocations: 24.91 kB / 0.5206 GB, free: 436 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.002671, allocations: 15.98 kB / 0.5207 GB, free: 420 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.002692, allocations: 0 / 0.5207 GB, free: 420 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.002706, allocations: 5.375 kB / 0.5207 GB, free: 416 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.002742, allocations: 7.938 kB / 0.5207 GB, free: 408 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.002784, allocations: 15.92 kB / 0.5207 GB, free: 392 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.002885, allocations: 39.94 kB / 0.5207 GB, free: 352 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002887, allocations: 5.125 kB / 0.5207 GB, free: 348 kB / 442.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002887, allocations: 0 / 0.5207 GB, free: 348 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.002891, allocations: 0 / 0.5207 GB, free: 348 kB / 442.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.000465/0.003356, allocations: 384.9 kB / 0.5211 GB, free: 15.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.0034, allocations: 11.97 kB / 0.5211 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.003462, allocations: 14.17 kB / 0.5211 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.003676, allocations: 132.5 kB / 0.5213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.003687, allocations: 384 / 0.5213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.0037, allocations: 4.375 kB / 0.5213 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.003857, allocations: 63.58 kB / 0.5213 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003865, allocations: 192 / 0.5213 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.003876, allocations: 4.375 kB / 0.5213 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.003881, allocations: 1.156 kB / 0.5213 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.003951, allocations: 31.86 kB / 0.5214 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.004619, allocations: 0.5428 MB / 0.5219 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.004797, allocations: 269.4 kB / 0.5221 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.004876, allocations: 130.9 kB / 0.5223 GB, free: 14.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.391e-05/0.00495, allocations: 119.2 kB / 0.5224 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.161e-05/0.005041, allocations: 152.6 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.005042, allocations: 2.062 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 8.897e-05/0.005131, allocations: 33.64 kB / 0.5226 GB, free: 14.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.00524, allocations: 174.6 kB / 0.5227 GB, free: 14.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.005412, allocations: 181.9 kB / 0.5229 GB, free: 13.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.005432, allocations: 25.7 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.005547, allocations: 148.2 kB / 0.5231 GB, free: 13.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.005549, allocations: 0 / 0.5231 GB, free: 13.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.005594, allocations: 27.36 kB / 0.5231 GB, free: 13.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000263/0.005857, allocations: 0.4883 MB / 0.5236 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.005878, allocations: 8.953 kB / 0.5236 GB, free: 13.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.005893, allocations: 8 kB / 0.5236 GB, free: 13.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.005934, allocations: 16.64 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005936, allocations: 0 / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001353/0.006071, allocations: 54.58 kB / 0.5237 GB, free: 13.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.006085, allocations: 4 kB / 0.5237 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006089, allocations: 0.5 kB / 0.5237 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.006102, allocations: 0 / 0.5237 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.578e-05/0.006157, allocations: 4.906 kB / 0.5237 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006162, allocations: 0 / 0.5237 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.006185, allocations: 9.203 kB / 0.5237 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.006194, allocations: 0 / 0.5237 GB, free: 13.13 MB / 458.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 0.0001767/0.006371, allocations: 283.7 kB / 0.5239 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.006477, allocations: 149.4 kB / 0.5241 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.006578, allocations: 158.1 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001375/0.006716, allocations: 272.1 kB / 0.5245 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001396/0.006856, allocations: 276.2 kB / 0.5248 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001315/0.006987, allocations: 268 kB / 0.525 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.007352, allocations: 0.5115 MB / 0.5255 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.687e-05/0.007449, allocations: 154.5 kB / 0.5257 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.007528, allocations: 144.9 kB / 0.5258 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/0.007664, allocations: 272 kB / 0.5261 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.007801, allocations: 268.1 kB / 0.5263 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001343/0.007936, allocations: 265.6 kB / 0.5266 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003561/0.008292, allocations: 272 kB / 0.5268 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.008578, allocations: 455.9 kB / 0.5273 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.008667, allocations: 148.8 kB / 0.5274 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.008826, allocations: 272.1 kB / 0.5277 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.008949, allocations: 149.6 kB / 0.5278 GB, free: 8.719 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.009101, allocations: 268.1 kB / 0.5281 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/0.009186, allocations: 154.3 kB / 0.5282 GB, free: 8.293 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.00929, allocations: 143.5 kB / 0.5283 GB, free: 8.152 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.00929, allocations: 0 / 0.5283 GB, free: 8.152 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.009505, allocations: 4 kB / 0.5283 GB, free: 8.148 MB / 458.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.0002107/0.009715, allocations: 224.3 kB / 0.5286 GB, free: 7.922 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.775e-05/0.009803, allocations: 15.69 kB / 0.5286 GB, free: 7.902 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009805, allocations: 0 / 0.5286 GB, free: 7.902 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.009806, allocations: 2.906 kB / 0.5286 GB, free: 7.902 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.01044, allocations: 0.7124 MB / 0.5293 GB, free: 7.188 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.01084, allocations: 257.3 kB / 0.5295 GB, free: 6.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01094, allocations: 79.44 kB / 0.5296 GB, free: 6.809 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.501e-05/0.01097, allocations: 3.984 kB / 0.5296 GB, free: 6.805 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.011, allocations: 12.5 kB / 0.5296 GB, free: 6.793 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.011, allocations: 2.75 kB / 0.5296 GB, free: 6.793 MB / 458.7 MB Notification: Performance of Templates: time 0.002986/0.01399, allocations: 310 kB / 0.5299 GB, free: 6.5 MB / 458.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: 5.863741074921563]