Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0007389/0.0007389, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001795, 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.0007281/0.0007281, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01101/0.01174, 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 1.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08892/1.094, 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.8425/0.8425, allocations: 155.4 MB / 399.5 MB, free: 15.79 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.3164/1.159, allocations: 49.12 MB / 448.6 MB, free: 5.875 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 450 MB, free: 4.504 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.667e-05, allocations: 2.312 kB / 450 MB, free: 4.5 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001535/0.001562, allocations: 0.7562 MB / 450.8 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000724/0.002286, allocations: 0.8571 MB / 451.6 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.00232, allocations: 1.344 kB / 451.6 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.002345, allocations: 3.938 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.002388, allocations: 3.5 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.67e-05/0.002445, allocations: 20.59 kB / 451.7 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.002523, allocations: 38.98 kB / 451.7 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.002609, allocations: 14.81 kB / 451.7 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.002697, allocations: 39.33 kB / 451.8 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.002737, allocations: 14.28 kB / 451.8 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.002758, allocations: 4 kB / 451.8 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-06/0.002767, allocations: 4 kB / 451.8 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.002786, allocations: 7.719 kB / 451.8 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.002808, allocations: 8.875 kB / 451.8 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.14e-05/0.0029, allocations: 26.98 kB / 451.8 MB, free: 2.762 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.002912, allocations: 0 / 451.8 MB, free: 2.762 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002913, allocations: 2.562 kB / 451.8 MB, free: 2.762 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.002923, allocations: 0 / 451.8 MB, free: 2.762 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.0003849/0.003308, allocations: 258.6 kB / 452.1 MB, free: 2.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.003338, allocations: 8.031 kB / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.003365, allocations: 9.906 kB / 452.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/0.003456, allocations: 113.7 kB / 452.2 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.003464, allocations: 1.25 kB / 452.2 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.003475, allocations: 384 / 452.2 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.003614, allocations: 72.38 kB / 452.3 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.003621, allocations: 192 / 452.3 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.003629, allocations: 384 / 452.3 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.003635, allocations: 384 / 452.3 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.003656, allocations: 8.844 kB / 452.3 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.003902, allocations: 156.8 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.003976, allocations: 27.66 kB / 452.5 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.003997, allocations: 8.859 kB / 452.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.004006, allocations: 0.625 kB / 452.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.004032, allocations: 35.12 kB / 452.5 MB, free: 1.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.004033, allocations: 1.609 kB / 452.5 MB, free: 1.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.000116/0.004149, allocations: 49.92 kB / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.00418, allocations: 55.41 kB / 452.6 MB, free: 1.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.004242, allocations: 110.7 kB / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.004251, allocations: 25.7 kB / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.004282, allocations: 84.14 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.004301, allocations: 15.88 kB / 452.8 MB, free: 1.617 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.004327, allocations: 21.66 kB / 452.9 MB, free: 1.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.004398, allocations: 311.4 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.00441, allocations: 4.906 kB / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.004419, allocations: 0 / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.004443, allocations: 16.84 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004445, allocations: 1.781 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.774e-05/0.004492, allocations: 38.56 kB / 453.2 MB, free: 1.211 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.004506, allocations: 8 kB / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.00451, allocations: 0.8438 kB / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.004521, allocations: 4.844 kB / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.004595, allocations: 15.92 kB / 453.3 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.0046, allocations: 0.5 kB / 453.3 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.004623, allocations: 4.5 kB / 453.3 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.004628, allocations: 0 / 453.3 MB, free: 1.18 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.492e-05/0.004683, allocations: 119.3 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.004697, allocations: 5.062 kB / 453.4 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.004721, allocations: 8 kB / 453.4 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.004723, allocations: 3.938 kB / 453.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.004726, allocations: 5.219 kB / 453.4 MB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.004729, allocations: 1.781 kB / 453.4 MB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.736e-05/0.004817, allocations: 73.83 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.004818, allocations: 1.188 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.004848, allocations: 12.75 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.004854, allocations: 3.953 kB / 453.5 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.004856, allocations: 1.031 kB / 453.5 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.004861, allocations: 8 kB / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004861, allocations: 1.094 kB / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.004864, allocations: 3.938 kB / 453.5 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/0.004948, allocations: 139.5 kB / 453.6 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.004956, allocations: 2.109 kB / 453.6 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.00499, allocations: 7.984 kB / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.005021, allocations: 4 kB / 453.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.005026, allocations: 9.375 kB / 453.7 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.632e-05/0.005042, allocations: 17.14 kB / 453.7 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005042, allocations: 0 / 453.7 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001133/0.005155, allocations: 8 kB / 453.7 MB, free: 0.7109 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.47e-05/0.00524, allocations: 73.27 kB / 453.8 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.064e-05/0.005311, allocations: 19.16 kB / 453.8 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.005316, allocations: 0 / 453.8 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.005345, allocations: 14.62 kB / 453.8 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.005527, allocations: 69.33 kB / 453.9 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.005928, allocations: 137.1 kB / 454 MB, free: 372 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.005964, allocations: 63.77 kB / 454.1 MB, free: 288 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.604e-05/0.00599, allocations: 5.25 kB / 454.1 MB, free: 284 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.006049, allocations: 51.94 kB / 454.1 MB, free: 232 kB / 426.7 MB Notification: Performance of SimCode: time 9.51e-07/0.00605, allocations: 0 / 454.1 MB, free: 232 kB / 426.7 MB Notification: Performance of Templates: time 0.00206/0.00811, allocations: 0.6899 MB / 454.8 MB, free: 15.57 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6044048815965652]