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.000663/0.000663, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008448/0.001508, 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.0007109/0.0007109, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008489/0.00156, 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 0.9797/0.9797, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09131/1.071, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.8147/0.8147, allocations: 155.3 MB / 399.3 MB, free: 15.93 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.3134/1.128, allocations: 49.13 MB / 448.4 MB, free: 6.02 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.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 2.465e-06/2.465e-06, allocations: 0 / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.945e-05, allocations: 2.312 kB / 449.8 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.002179/0.002209, allocations: 0.7396 MB / 450.5 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003215, allocations: 0.8555 MB / 451.3 MB, free: 3.102 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.003248, allocations: 0 / 451.3 MB, free: 3.102 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.003275, allocations: 4.781 kB / 451.4 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.544e-05/0.003331, allocations: 14.84 kB / 451.4 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.232e-05/0.003403, allocations: 15.97 kB / 451.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.003493, allocations: 42.77 kB / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.003584, allocations: 12.58 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003689, allocations: 38.23 kB / 451.5 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.003756, allocations: 13.52 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.00379, allocations: 4 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.003804, allocations: 4 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.003825, allocations: 7.109 kB / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.003856, allocations: 9.531 kB / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.003967, allocations: 19.77 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.131e-05/0.003988, allocations: 0 / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.00399, allocations: 0 / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.004012, allocations: 1.156 kB / 451.5 MB, free: 2.949 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005269/0.004538, allocations: 262.6 kB / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.004581, allocations: 8.797 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.004618, allocations: 12.33 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.004745, allocations: 117.7 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.00476, allocations: 4.375 kB / 451.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.00477, allocations: 384 / 451.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.004948, allocations: 62.94 kB / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.004958, allocations: 192 / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.004967, allocations: 5.359 kB / 452 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004973, allocations: 384 / 452 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.005008, allocations: 8.844 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.005273, allocations: 149.6 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.629e-05/0.005339, allocations: 32.5 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.005361, allocations: 8.859 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.005382, allocations: 0 / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.005407, allocations: 34.56 kB / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.005408, allocations: 0 / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001278/0.005536, allocations: 47.41 kB / 452.3 MB, free: 2.121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.00557, allocations: 55.41 kB / 452.3 MB, free: 2.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.005646, allocations: 115.5 kB / 452.4 MB, free: 1.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.005659, allocations: 29.7 kB / 452.5 MB, free: 1.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.005696, allocations: 81.02 kB / 452.5 MB, free: 1.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.005717, allocations: 19.83 kB / 452.6 MB, free: 1.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.005748, allocations: 14.34 kB / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.005841, allocations: 315.4 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.005855, allocations: 4.781 kB / 452.9 MB, free: 1.453 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.005867, allocations: 0.6094 kB / 452.9 MB, free: 1.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.005901, allocations: 22.2 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005903, allocations: 0 / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.769e-05/0.005971, allocations: 43.78 kB / 453 MB, free: 1.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.005984, allocations: 4 kB / 453 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005989, allocations: 4 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.006001, allocations: 9 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.006093, allocations: 11.98 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006095, allocations: 1.156 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.006125, allocations: 7.984 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006131, allocations: 0 / 453 MB, free: 1.348 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 (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 5.871e-05/0.00619, allocations: 114.4 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.006209, allocations: 1.594 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.93e-05/0.006309, allocations: 56.14 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.006311, allocations: 3.938 kB / 453.2 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.006313, allocations: 0 / 453.2 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006316, allocations: 5.312 kB / 453.2 MB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.006424, allocations: 65.89 kB / 453.2 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.006426, allocations: 3.984 kB / 453.2 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.006481, allocations: 12 kB / 453.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-06/0.006489, allocations: 4.609 kB / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006491, allocations: 1.25 kB / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-06/0.006495, allocations: 0 / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.006497, allocations: 3.984 kB / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.006499, allocations: 3.938 kB / 453.3 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.767e-05/0.006597, allocations: 140.4 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.006608, allocations: 4 kB / 453.4 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.006668, allocations: 4.875 kB / 453.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.0067, allocations: 3.984 kB / 453.4 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.006705, allocations: 4.844 kB / 453.4 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.006728, allocations: 29.12 kB / 453.4 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.006728, allocations: 0 / 453.4 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.006907, allocations: 4.625 kB / 453.5 MB, free: 0.8438 MB / 426.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 (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 9.959e-05/0.007006, allocations: 77.67 kB / 453.5 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.072e-05/0.007077, allocations: 12.86 kB / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.007084, allocations: 0.625 kB / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.007108, allocations: 19.28 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.007293, allocations: 12.62 kB / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.007704, allocations: 129.9 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.007744, allocations: 59.22 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.547e-05/0.00777, allocations: 5.766 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.007824, allocations: 51.38 kB / 453.8 MB, free: 444 kB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007825, allocations: 4 kB / 453.8 MB, free: 440 kB / 426.7 MB Notification: Performance of Templates: time 0.002596/0.01042, allocations: 0.6814 MB / 454.5 MB, free: 15.79 MB / 442.7 MB " [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.6384693812578917]