Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001416/0.001416, 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.001205/0.001205, 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.9984/0.9984, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8946/0.8946, allocations: 154.6 MB / 414.8 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.393e-05, allocations: 2.312 kB / 480.1 MB, free: 6.836 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002032/0.002056, allocations: 0.699 MB / 480.8 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003156, allocations: 0.8453 MB / 481.6 MB, free: 5.312 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.003198, allocations: 0.5938 kB / 481.6 MB, free: 5.312 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.003231, allocations: 8.547 kB / 481.6 MB, free: 5.305 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.222e-05/0.003313, allocations: 14.3 kB / 481.6 MB, free: 5.297 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.576e-05/0.003379, allocations: 11.98 kB / 481.6 MB, free: 5.285 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.514e-05/0.003464, allocations: 43.86 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.003546, allocations: 11.92 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.003635, allocations: 22.17 kB / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.00368, allocations: 17.06 kB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.003702, allocations: 4 kB / 481.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.00371, allocations: 4 kB / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.003732, allocations: 9.734 kB / 481.8 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.003758, allocations: 14.42 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.986e-05/0.003848, allocations: 33.66 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00385, allocations: 3.188 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003851, allocations: 0 / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.003855, allocations: 0 / 481.8 MB, free: 5.145 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.0003389/0.004194, allocations: 252 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004229, allocations: 8.906 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.004257, allocations: 4.938 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.004339, allocations: 113.7 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.004348, allocations: 1.281 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.004361, allocations: 4.375 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.00449, allocations: 71.86 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.004497, allocations: 0.75 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.004505, allocations: 1 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.00451, allocations: 1.141 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.923e-05/0.004539, allocations: 17.25 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.004759, allocations: 152.9 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.064e-05/0.004819, allocations: 28.02 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.004837, allocations: 4.859 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.004846, allocations: 5.219 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.004866, allocations: 30.62 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004867, allocations: 1.312 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.000152/0.005019, allocations: 53.27 kB / 482.5 MB, free: 4.324 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.005049, allocations: 51.41 kB / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.603e-05/0.005105, allocations: 110.7 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.005115, allocations: 26.7 kB / 482.7 MB, free: 4.109 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.005146, allocations: 100 kB / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.00516, allocations: 4.578 kB / 482.8 MB, free: 4.004 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.005185, allocations: 17.72 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.005253, allocations: 319.4 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.005263, allocations: 3.984 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.005273, allocations: 5.438 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.005294, allocations: 9.625 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005296, allocations: 0 / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.458e-05/0.00534, allocations: 41.69 kB / 483.2 MB, free: 3.594 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.005351, allocations: 4.781 kB / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.005354, allocations: 0 / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.005365, allocations: 5.375 kB / 483.2 MB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.005435, allocations: 15.92 kB / 483.2 MB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.005438, allocations: 0.875 kB / 483.2 MB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.005461, allocations: 8.828 kB / 483.3 MB, free: 3.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005465, allocations: 0 / 483.3 MB, free: 3.562 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 4.64e-05/0.005511, allocations: 114.5 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.005523, allocations: 1.219 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.00554, allocations: 8 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.005543, allocations: 3.938 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005545, allocations: 0.8125 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005547, allocations: 0.7656 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.827e-05/0.005635, allocations: 69.89 kB / 483.4 MB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005636, allocations: 0.625 kB / 483.4 MB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.005678, allocations: 16.61 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.005681, allocations: 4.562 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.005686, allocations: 0 / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.005688, allocations: 0.625 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005689, allocations: 3.938 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.873e-05/0.005787, allocations: 148.1 kB / 483.6 MB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.005799, allocations: 11.89 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.005809, allocations: 0.625 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.005882, allocations: 12.92 kB / 483.6 MB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.005912, allocations: 7.984 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.005917, allocations: 9.5 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.168e-05/0.005928, allocations: 8.859 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005928, allocations: 0 / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001112/0.00604, allocations: 8 kB / 483.7 MB, free: 3.102 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 7.872e-05/0.006118, allocations: 73.73 kB / 483.7 MB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.334e-05/0.006172, allocations: 16.84 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.006174, allocations: 0.8438 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.00619, allocations: 12.8 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.006318, allocations: 16.58 kB / 483.8 MB, free: 2.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.00652, allocations: 128.5 kB / 483.9 MB, free: 2.824 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.006551, allocations: 67.22 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.769e-05/0.006569, allocations: 2.344 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.006614, allocations: 55.38 kB / 484 MB, free: 2.684 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006614, allocations: 0 / 484 MB, free: 2.684 MB / 442.7 MB Notification: Performance of Templates: time 0.001914/0.008529, allocations: 0.6633 MB / 484.7 MB, free: 2.055 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.671248343773186]