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.0008504/0.0008504, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002025, 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.001148/0.001148, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002699, 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.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09716/1.131, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.8112/0.8112, allocations: 155.3 MB / 399.2 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.264/1.075, 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.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.553e-06/1.553e-06, allocations: 0 / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.258e-05, allocations: 5.922 kB / 449.7 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.00154/0.001563, allocations: 0.7395 MB / 450.5 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007082/0.002271, allocations: 0.8619 MB / 451.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.002298, allocations: 0 / 451.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.00232, allocations: 0 / 451.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.898e-05/0.002359, allocations: 10.78 kB / 451.4 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.886e-05/0.002408, allocations: 11.98 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.545e-05/0.002484, allocations: 48.28 kB / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.002556, allocations: 7.062 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.002637, allocations: 37.34 kB / 451.5 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.002679, allocations: 17.52 kB / 451.5 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.002698, allocations: 0 / 451.5 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-06/0.002704, allocations: 4.875 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.00272, allocations: 9.203 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.002746, allocations: 7.375 kB / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.146e-05/0.002828, allocations: 30.7 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.002844, allocations: 0 / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002845, allocations: 0.5938 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.002859, allocations: 0 / 451.5 MB, free: 2.945 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.0003671/0.003226, allocations: 259.2 kB / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.003256, allocations: 9.938 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.00328, allocations: 8.922 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/0.003361, allocations: 114.5 kB / 451.9 MB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.00337, allocations: 384 / 451.9 MB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.003378, allocations: 4.375 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.003494, allocations: 65.16 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003501, allocations: 192 / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.003508, allocations: 1.375 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.003514, allocations: 4.375 kB / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.003537, allocations: 13.73 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.00374, allocations: 152.3 kB / 452.1 MB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.003794, allocations: 27.06 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.003809, allocations: 9.359 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.003817, allocations: 1.281 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.003838, allocations: 38.56 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.00384, allocations: 2.109 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001541/0.003994, allocations: 45.72 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.004025, allocations: 52.09 kB / 452.3 MB, free: 2.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.004082, allocations: 113.2 kB / 452.4 MB, free: 1.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.567e-06/0.00409, allocations: 25.7 kB / 452.5 MB, free: 1.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.004119, allocations: 88.12 kB / 452.5 MB, free: 1.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.004135, allocations: 7.906 kB / 452.5 MB, free: 1.805 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.004166, allocations: 22.58 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.004236, allocations: 318.8 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.004245, allocations: 0.5625 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.004255, allocations: 4.625 kB / 452.9 MB, free: 1.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.00428, allocations: 16.78 kB / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.004282, allocations: 1.062 kB / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.552e-05/0.004327, allocations: 41.69 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.004339, allocations: 4 kB / 452.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.004343, allocations: 1.594 kB / 452.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.004353, allocations: 4.844 kB / 453 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.004429, allocations: 11.98 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.004431, allocations: 0.5938 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.004453, allocations: 4 kB / 453 MB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.004458, allocations: 9.438 kB / 453 MB, free: 1.355 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 4.448e-05/0.004503, allocations: 109.8 kB / 453.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.004516, allocations: 11.92 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.004537, allocations: 9.797 kB / 453.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.00454, allocations: 3.938 kB / 453.1 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.004541, allocations: 1.438 kB / 453.1 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.004544, allocations: 0 / 453.1 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.34e-05/0.004627, allocations: 81.81 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004628, allocations: 0 / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.004656, allocations: 8.844 kB / 453.2 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.004666, allocations: 11.94 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.004667, allocations: 0.6562 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-06/0.00467, allocations: 0 / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.004671, allocations: 0.8438 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.004673, allocations: 3.938 kB / 453.2 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.666e-05/0.00474, allocations: 133.1 kB / 453.3 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.004748, allocations: 0 / 453.3 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.004787, allocations: 5.5 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.004824, allocations: 15.92 kB / 453.4 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.004827, allocations: 3.938 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.316e-05/0.00484, allocations: 19.23 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00484, allocations: 0 / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001138/0.004954, allocations: 8 kB / 453.4 MB, free: 0.8945 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.416e-05/0.005048, allocations: 72.42 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.11e-05/0.005109, allocations: 14.17 kB / 453.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.005116, allocations: 7.984 kB / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.655e-05/0.005132, allocations: 13.77 kB / 453.5 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.005285, allocations: 9.188 kB / 453.5 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.005658, allocations: 137.1 kB / 453.6 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.005691, allocations: 63.8 kB / 453.7 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.208e-05/0.005713, allocations: 0.6562 kB / 453.7 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.005761, allocations: 55.91 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.005762, allocations: 0.5625 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of Templates: time 0.002143/0.007905, allocations: 0.6888 MB / 454.5 MB, free: 15.83 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.603447526693344]