Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.001136/0.001136, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.002861, allocations: 440 kB / 10.41 MB, free: 284 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.001057/0.001057, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.00252, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9905/0.9905, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08646/1.077, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8293/0.8293, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.2755/1.105, allocations: 49.13 MB / 448.6 MB, free: 5.914 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.368e-05, allocations: 2.312 kB / 450 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001256/0.00127, allocations: 0.9065 MB / 450.9 MB, free: 3.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.002038, allocations: 0.9389 MB / 451.9 MB, free: 2.727 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.002105, allocations: 7.938 kB / 451.9 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.002135, allocations: 9.844 kB / 451.9 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.002173, allocations: 9.625 kB / 451.9 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.002281, allocations: 68.7 kB / 451.9 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.002426, allocations: 136 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.002544, allocations: 49.53 kB / 452.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.002645, allocations: 78.91 kB / 452.2 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.002711, allocations: 48.78 kB / 452.3 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.002738, allocations: 12 kB / 452.3 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.002754, allocations: 16.59 kB / 452.3 MB, free: 2.328 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.002777, allocations: 19.94 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.002811, allocations: 28.56 kB / 452.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.002921, allocations: 83.61 kB / 452.4 MB, free: 2.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.002932, allocations: 1.906 kB / 452.4 MB, free: 2.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.002933, allocations: 3.938 kB / 452.4 MB, free: 2.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.00294, allocations: 0 / 452.4 MB, free: 2.195 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004156/0.003355, allocations: 359.1 kB / 452.8 MB, free: 1.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.003386, allocations: 8.031 kB / 452.8 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.003423, allocations: 21.92 kB / 452.8 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.003583, allocations: 163.7 kB / 453 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.003593, allocations: 8.375 kB / 453 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.003611, allocations: 12.88 kB / 453 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.003803, allocations: 197.4 kB / 453.2 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.003811, allocations: 1.469 kB / 453.2 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.003823, allocations: 4.375 kB / 453.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.003829, allocations: 4.375 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.44e-05/0.003884, allocations: 49.06 kB / 453.2 MB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.004244, allocations: 293.8 kB / 453.5 MB, free: 1.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.004318, allocations: 47.3 kB / 453.6 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.00434, allocations: 16.84 kB / 453.6 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.004358, allocations: 8.688 kB / 453.6 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.004378, allocations: 34.56 kB / 453.6 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.004379, allocations: 1.281 kB / 453.6 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000128/0.004507, allocations: 74.67 kB / 453.7 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.004529, allocations: 55.34 kB / 453.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.004599, allocations: 136.4 kB / 453.9 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.004611, allocations: 30.42 kB / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.004659, allocations: 122.2 kB / 454 MB, free: 456 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.004676, allocations: 36.59 kB / 454.1 MB, free: 420 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.004713, allocations: 33.69 kB / 454.1 MB, free: 380 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.004936, allocations: 318.8 kB / 454.4 MB, free: 52 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.004956, allocations: 12.58 kB / 454.4 MB, free: 40 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.004972, allocations: 9.438 kB / 454.4 MB, free: 32 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.18e-05/0.005034, allocations: 48 kB / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.005037, allocations: 0 / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.179e-05/0.005108, allocations: 69.61 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.005119, allocations: 4.781 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.005122, allocations: 0 / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.005134, allocations: 5.438 kB / 454.6 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.005223, allocations: 27.92 kB / 454.6 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.005227, allocations: 3.938 kB / 454.6 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.00526, allocations: 15.83 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.005268, allocations: 8.828 kB / 454.6 MB, free: 15.85 MB / 442.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 (13): * Single equations (assignments): 13 * 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.498e-05/0.005323, allocations: 114.4 kB / 454.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.005342, allocations: 8 kB / 454.7 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.863e-05/0.00544, allocations: 75.89 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005442, allocations: 0 / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.005444, allocations: 4.562 kB / 454.8 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005447, allocations: 3.984 kB / 454.8 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.005648, allocations: 270.7 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.005651, allocations: 4 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.005704, allocations: 22.09 kB / 455.1 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.005716, allocations: 16.44 kB / 455.1 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.005719, allocations: 4 kB / 455.1 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005724, allocations: 0 / 455.1 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.005726, allocations: 0 / 455.1 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.005728, allocations: 7.938 kB / 455.1 MB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.418e-05/0.005822, allocations: 178.7 kB / 455.3 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.005833, allocations: 8.844 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.135e-05/0.005885, allocations: 15.98 kB / 455.3 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.005913, allocations: 11.89 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.005918, allocations: 4 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.216e-05/0.00594, allocations: 30.09 kB / 455.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00594, allocations: 0.625 kB / 455.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.006072, allocations: 27.89 kB / 455.4 MB, free: 14.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 7.141e-05/0.006143, allocations: 77.67 kB / 455.5 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.00623, allocations: 57.22 kB / 455.5 MB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.006238, allocations: 4.562 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.00628, allocations: 29.47 kB / 455.6 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.006445, allocations: 46.52 kB / 455.6 MB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.006879, allocations: 278.1 kB / 455.9 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.006917, allocations: 71.19 kB / 456 MB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.796e-05/0.006945, allocations: 9.406 kB / 456 MB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.007011, allocations: 71.36 kB / 456 MB, free: 14.29 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007012, allocations: 1 kB / 456 MB, free: 14.29 MB / 442.7 MB Notification: Performance of Templates: time 0.002404/0.009415, allocations: 1.041 MB / 457.1 MB, free: 13.33 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6036411402747035]