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.001272/0.001272, 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.001254/0.001254, 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 1.03/1.03, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7855/0.7855, allocations: 154.9 MB / 415.1 MB, free: 248 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.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.584e-06/2.584e-06, allocations: 0 / 0.5212 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.163e-05, allocations: 4.703 kB / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001479/0.001511, allocations: 0.6463 MB / 0.5218 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001724/0.001683, allocations: 12.11 kB / 0.5218 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.001735, allocations: 4 kB / 0.5218 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.001845, allocations: 0.7656 kB / 0.5218 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.001891, allocations: 0.5312 kB / 0.5218 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.394e-05/0.001955, allocations: 0 / 0.5218 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.002032, allocations: 37.83 kB / 0.5219 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.002168, allocations: 20.55 kB / 0.5219 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.00221, allocations: 23.92 kB / 0.5219 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.002243, allocations: 12.95 kB / 0.5219 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.002262, allocations: 4 kB / 0.5219 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.002274, allocations: 5.469 kB / 0.5219 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.002312, allocations: 15.92 kB / 0.522 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.00234, allocations: 7.984 kB / 0.522 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.995e-05/0.00244, allocations: 35.84 kB / 0.522 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002442, allocations: 0.6875 kB / 0.522 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.002444, allocations: 0 / 0.522 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.002448, allocations: 0.5625 kB / 0.522 GB, free: 0.6445 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003207/0.002769, allocations: 378.5 kB / 0.5224 GB, free: 244 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.002809, allocations: 8.031 kB / 0.5224 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.002843, allocations: 16.89 kB / 0.5224 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.002961, allocations: 120.5 kB / 0.5225 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.002973, allocations: 12.36 kB / 0.5225 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.002982, allocations: 4.375 kB / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.823e-05/0.00307, allocations: 42.78 kB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.003077, allocations: 0.9062 kB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.003086, allocations: 4.375 kB / 0.5226 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.003094, allocations: 4.922 kB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.003128, allocations: 17.36 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.003504, allocations: 0.5025 MB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.603e-05/0.0036, allocations: 269.4 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.003637, allocations: 134.8 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.003668, allocations: 120 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.003718, allocations: 156.6 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.003719, allocations: 0.9688 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.867e-05/0.003778, allocations: 29.7 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.003843, allocations: 170.6 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.003969, allocations: 180.8 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.00398, allocations: 25.81 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.004059, allocations: 146.8 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.004061, allocations: 0 / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.004089, allocations: 15.38 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.004236, allocations: 0.4923 MB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.004251, allocations: 7.922 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.004259, allocations: 4.625 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.004299, allocations: 12.84 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.004301, allocations: 0 / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001/0.004401, allocations: 37.66 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.004416, allocations: 4.969 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.004423, allocations: 0 / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.004437, allocations: 0.9375 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.004503, allocations: 4 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-06/0.004507, allocations: 0 / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.004526, allocations: 12.73 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.004536, allocations: 3.938 kB / 0.5248 GB, free: 13.55 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 (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.0001136/0.00465, allocations: 280.6 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.004711, allocations: 144.9 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.004773, allocations: 153.6 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004594/0.005233, allocations: 276.1 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.535e-05/0.005298, allocations: 268.1 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/0.005365, allocations: 272.6 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.005538, allocations: 488.5 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.005572, allocations: 150.7 kB / 0.5268 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.005607, allocations: 156.8 kB / 0.5269 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.724e-05/0.005664, allocations: 268.1 kB / 0.5272 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.005728, allocations: 268 kB / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.651e-05/0.005795, allocations: 268.7 kB / 0.5277 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.286e-05/0.005868, allocations: 268.1 kB / 0.528 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.006007, allocations: 450.9 kB / 0.5284 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.006055, allocations: 164.8 kB / 0.5285 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.006123, allocations: 264.1 kB / 0.5288 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.006184, allocations: 148.9 kB / 0.5289 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.006249, allocations: 268 kB / 0.5292 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.006284, allocations: 144.9 kB / 0.5293 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.006334, allocations: 139.4 kB / 0.5295 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006334, allocations: 0 / 0.5295 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001374/0.006472, allocations: 7.125 kB / 0.5295 GB, free: 8.633 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.0001371/0.006609, allocations: 218.4 kB / 0.5297 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.927e-05/0.006668, allocations: 11.62 kB / 0.5297 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.00667, allocations: 0 / 0.5297 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.006671, allocations: 4 kB / 0.5297 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.007002, allocations: 0.7062 MB / 0.5304 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.007243, allocations: 255 kB / 0.5306 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.007277, allocations: 59.34 kB / 0.5307 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.007297, allocations: 4 kB / 0.5307 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.007346, allocations: 74.19 kB / 0.5308 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/0.007347, allocations: 1.906 kB / 0.5308 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of Templates: time 0.002127/0.009474, allocations: 341.3 kB / 0.5311 GB, free: 6.926 MB / 0.4948 GB " [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.8433897220529616]