Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.001063/0.001063, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002418, 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.001116/0.001116, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.002417, 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 1.021/1.021, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1076/1.129, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7593/0.7593, allocations: 155.3 MB / 399.3 MB, free: 15.91 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.2903/1.05, allocations: 49.13 MB / 448.4 MB, free: 5.977 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 449.7 MB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.682e-05, allocations: 5.734 kB / 449.8 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001822/0.001838, allocations: 0.737 MB / 450.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002882, allocations: 0.8558 MB / 451.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.002919, allocations: 2.109 kB / 451.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.002949, allocations: 3.938 kB / 451.4 MB, free: 3.059 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.304e-05/0.003002, allocations: 15 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.87e-05/0.00307, allocations: 11.98 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003182, allocations: 45.03 kB / 451.4 MB, free: 3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.00329, allocations: 12.64 kB / 451.4 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.003404, allocations: 30.23 kB / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.003462, allocations: 17.61 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.003486, allocations: 0.7656 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.003494, allocations: 5.594 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.003512, allocations: 5.531 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.003542, allocations: 9.641 kB / 451.5 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.657e-05/0.003638, allocations: 26.66 kB / 451.5 MB, free: 2.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.652e-05/0.003655, allocations: 0.5625 kB / 451.5 MB, free: 2.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.003656, allocations: 0 / 451.5 MB, free: 2.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.003675, allocations: 2.828 kB / 451.5 MB, free: 2.91 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.0004401/0.004115, allocations: 258.6 kB / 451.8 MB, free: 2.633 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.004152, allocations: 8.031 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.004184, allocations: 10.7 kB / 451.8 MB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.004291, allocations: 119.3 kB / 451.9 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.004303, allocations: 384 / 451.9 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.004313, allocations: 4.375 kB / 451.9 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.004467, allocations: 62.94 kB / 452 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.004476, allocations: 2.594 kB / 452 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.004483, allocations: 1.469 kB / 452 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004489, allocations: 384 / 452 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.411e-05/0.004523, allocations: 11.94 kB / 452 MB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.004774, allocations: 152.3 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.374e-05/0.004847, allocations: 31.22 kB / 452.2 MB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.004873, allocations: 12.92 kB / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.004883, allocations: 2.5 kB / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.004912, allocations: 30.56 kB / 452.2 MB, free: 2.133 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.004914, allocations: 0 / 452.2 MB, free: 2.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001371/0.005051, allocations: 51.34 kB / 452.3 MB, free: 2.078 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.00509, allocations: 52.17 kB / 452.3 MB, free: 2.016 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.005158, allocations: 115.8 kB / 452.4 MB, free: 1.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.005169, allocations: 25.7 kB / 452.5 MB, free: 1.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.005207, allocations: 84.12 kB / 452.5 MB, free: 1.773 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.005229, allocations: 20.52 kB / 452.6 MB, free: 1.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.005265, allocations: 10.81 kB / 452.6 MB, free: 1.738 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.005358, allocations: 319.7 kB / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.005373, allocations: 0 / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.005387, allocations: 6.5 kB / 452.9 MB, free: 1.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.005422, allocations: 16.84 kB / 452.9 MB, free: 1.395 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005425, allocations: 0 / 452.9 MB, free: 1.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.781e-05/0.005493, allocations: 41.62 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.005509, allocations: 5.406 kB / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.005514, allocations: 0 / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.005526, allocations: 8.484 kB / 453 MB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.005629, allocations: 16.89 kB / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.005632, allocations: 0 / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.005664, allocations: 5.406 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.00567, allocations: 0 / 453 MB, free: 1.316 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 6.656e-05/0.005737, allocations: 117.8 kB / 453.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.005761, allocations: 5.844 kB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.005787, allocations: 4 kB / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.005789, allocations: 4.688 kB / 453.1 MB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.005794, allocations: 4 kB / 453.1 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005796, allocations: 0.625 kB / 453.1 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.005916, allocations: 77.81 kB / 453.2 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.005917, allocations: 1.312 kB / 453.2 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.005972, allocations: 15.98 kB / 453.2 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.005982, allocations: 3.953 kB / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.005984, allocations: 0.5312 kB / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.005988, allocations: 0 / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.00599, allocations: 1.094 kB / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.005997, allocations: 12.72 kB / 453.2 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.006099, allocations: 127.5 kB / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.006112, allocations: 5.062 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.006177, allocations: 7.984 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.006212, allocations: 5.062 kB / 453.4 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.006217, allocations: 3.938 kB / 453.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.988e-05/0.006237, allocations: 21.14 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006237, allocations: 1.438 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.006426, allocations: 4 kB / 453.4 MB, free: 0.8594 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 8.912e-05/0.006515, allocations: 79.08 kB / 453.5 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.071e-05/0.006596, allocations: 28.77 kB / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.006603, allocations: 1.438 kB / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.006626, allocations: 8.859 kB / 453.5 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.006835, allocations: 10.11 kB / 453.5 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.007262, allocations: 130.2 kB / 453.7 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.296e-05/0.007305, allocations: 63.2 kB / 453.7 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.631e-05/0.007332, allocations: 0.875 kB / 453.7 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.007393, allocations: 56.44 kB / 453.8 MB, free: 452 kB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.007394, allocations: 0 / 453.8 MB, free: 452 kB / 426.7 MB Notification: Performance of Templates: time 0.002753/0.01015, allocations: 0.6846 MB / 454.5 MB, free: 15.8 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4093841491267085]