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.0009109/0.0009109, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.0009564/0.0009564, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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.9199/0.9199, allocations: 177.2 MB / 203.8 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7959/0.7959, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.653e-06/1.653e-06, allocations: 0 / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.23e-05, allocations: 6.312 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001106/0.001119, allocations: 0.6898 MB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.001885, allocations: 0.8508 MB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.001919, allocations: 0 / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.001947, allocations: 4.922 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.002019, allocations: 13.8 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.167e-05/0.00207, allocations: 9.531 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.896e-05/0.002139, allocations: 42.75 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.119e-05/0.002211, allocations: 13.45 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.002287, allocations: 23.16 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.002326, allocations: 21.72 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.002343, allocations: 0 / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-06/0.002349, allocations: 4 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.002368, allocations: 10.72 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.002389, allocations: 10.75 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.983e-05/0.002459, allocations: 37.64 kB / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.002461, allocations: 2.812 kB / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.002461, allocations: 0 / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.002464, allocations: 0 / 482.2 MB, free: 4.797 MB / 442.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.0002726/0.002737, allocations: 248 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.002768, allocations: 12.56 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.956e-05/0.002787, allocations: 0.9375 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.002861, allocations: 122.8 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.002871, allocations: 4.375 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.00288, allocations: 1.141 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.618e-05/0.002976, allocations: 67.53 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.002982, allocations: 1.531 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.002988, allocations: 7.75 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.002993, allocations: 384 / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.003013, allocations: 12.56 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.003192, allocations: 148.3 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.37e-05/0.003245, allocations: 34.05 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.003259, allocations: 8.859 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.003266, allocations: 0 / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.003285, allocations: 34.64 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.003286, allocations: 0 / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.753e-05/0.003383, allocations: 49.69 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.003411, allocations: 56.25 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.933e-05/0.00346, allocations: 115.5 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.003469, allocations: 25.7 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.003493, allocations: 80.67 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.003511, allocations: 13 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.003533, allocations: 17.7 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.003601, allocations: 318.8 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.00361, allocations: 1.828 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.003621, allocations: 4 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.003644, allocations: 17.47 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.003647, allocations: 0.625 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.198e-05/0.003689, allocations: 37.69 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.003698, allocations: 8.562 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.003701, allocations: 0 / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.003712, allocations: 4.562 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.00377, allocations: 8.625 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.003773, allocations: 0 / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.003796, allocations: 12.58 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.003801, allocations: 4.75 kB / 483.6 MB, free: 3.211 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 (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.088e-05/0.003852, allocations: 107.6 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.003866, allocations: 4 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.003886, allocations: 11.98 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.003889, allocations: 3.938 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.003891, allocations: 3.375 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.003894, allocations: 0.8125 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.899e-05/0.003973, allocations: 69.89 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.003973, allocations: 1 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.003998, allocations: 11.98 kB / 483.8 MB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.003998, allocations: 0 / 483.8 MB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.004004, allocations: 4.688 kB / 483.8 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004004, allocations: 5.219 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-07/0.004004, allocations: 0 / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.231e-05/0.004077, allocations: 147.5 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.004084, allocations: 11.88 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-06/0.004091, allocations: 0.5625 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.462e-05/0.004125, allocations: 9.125 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.004158, allocations: 11.98 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.00416, allocations: 3.938 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.261e-05/0.004173, allocations: 13.44 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004173, allocations: 0 / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001102/0.004283, allocations: 8.594 kB / 484 MB, free: 2.75 MB / 442.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 5.974e-05/0.004343, allocations: 77.56 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.337e-05/0.004396, allocations: 18.7 kB / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.004398, allocations: 0 / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.429e-05/0.004413, allocations: 12.86 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.004537, allocations: 14.36 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.00474, allocations: 122.5 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.004768, allocations: 60.66 kB / 484.3 MB, free: 2.398 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.913e-05/0.004787, allocations: 8 kB / 484.3 MB, free: 2.391 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.00483, allocations: 52.41 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00483, allocations: 0 / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of Templates: time 0.001921/0.006751, allocations: 0.6755 MB / 485.1 MB, free: 1.703 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.463310909923166]