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.0008497/0.0008497, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009576/0.0009576, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8469/0.8469, allocations: 177.1 MB / 203.5 MB, free: 5.688 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-531:686: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-531:694: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.7049/0.7049, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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 4.578e-06/4.578e-06, allocations: 0 / 0.6194 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.703e-05/5.161e-05, allocations: 8.188 kB / 0.6194 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001413/0.001465, allocations: 0.6926 MB / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007598/0.002225, allocations: 0.8276 MB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002259, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.00229, allocations: 3.938 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.002348, allocations: 3.938 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.167e-05/0.00241, allocations: 15.98 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.002485, allocations: 39.86 kB / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.002592, allocations: 15.97 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.002672, allocations: 23.98 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.002708, allocations: 19.91 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.002733, allocations: 4 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-06/0.002739, allocations: 7.938 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.002755, allocations: 4 kB / 0.621 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.002779, allocations: 11.98 kB / 0.621 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.85e-05/0.002867, allocations: 47.8 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002869, allocations: 0 / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/0.002871, allocations: 4 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.002875, allocations: 0 / 0.6211 GB, free: 11.3 MB / 0.5886 GB 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.0004039/0.003279, allocations: 290.2 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.003315, allocations: 8.031 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.003346, allocations: 8.891 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.003427, allocations: 105.8 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.003438, allocations: 4.375 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.003447, allocations: 384 / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.003599, allocations: 70.22 kB / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.003608, allocations: 192 / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.003616, allocations: 8.312 kB / 0.6215 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.00362, allocations: 384 / 0.6215 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.003759, allocations: 67.86 kB / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.004022, allocations: 204.6 kB / 0.6218 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.004136, allocations: 58.53 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.004209, allocations: 40.91 kB / 0.6219 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.00422, allocations: 3.938 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.00424, allocations: 34.56 kB / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.004241, allocations: 0 / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002942/0.004535, allocations: 133.5 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.004565, allocations: 51.41 kB / 0.6221 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.004627, allocations: 105.8 kB / 0.6222 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.004637, allocations: 29.7 kB / 0.6222 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.004683, allocations: 99.95 kB / 0.6223 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.004699, allocations: 3.953 kB / 0.6223 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.004726, allocations: 17.72 kB / 0.6224 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.004807, allocations: 314.8 kB / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.004883, allocations: 35.95 kB / 0.6227 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.004946, allocations: 31.91 kB / 0.6227 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.005075, allocations: 68.78 kB / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.005077, allocations: 0 / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001516/0.005228, allocations: 97.62 kB / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.00524, allocations: 7.938 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005244, allocations: 0 / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.005256, allocations: 8 kB / 0.6229 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.005329, allocations: 19.97 kB / 0.6229 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.005333, allocations: 0 / 0.6229 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.005367, allocations: 15.94 kB / 0.6229 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005372, allocations: 0 / 0.6229 GB, free: 9.219 MB / 0.5886 GB 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.387e-05/0.005426, allocations: 118.8 kB / 0.623 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.005437, allocations: 0 / 0.623 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.005459, allocations: 15.94 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.005461, allocations: 0 / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.005466, allocations: 3.984 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005468, allocations: 3.938 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.005555, allocations: 113.3 kB / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.005556, allocations: 0 / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.005592, allocations: 11.98 kB / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.005594, allocations: 8 kB / 0.6232 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.005601, allocations: 4 kB / 0.6232 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.005604, allocations: 3.938 kB / 0.6232 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005605, allocations: 0 / 0.6232 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.005789, allocations: 191.4 kB / 0.6234 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-06/0.005795, allocations: 4 kB / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.005805, allocations: 3.938 kB / 0.6234 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.005857, allocations: 19.92 kB / 0.6234 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.005894, allocations: 7.984 kB / 0.6234 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.005896, allocations: 0 / 0.6234 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.005926, allocations: 83.28 kB / 0.6235 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005926, allocations: 3.938 kB / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001369/0.006063, allocations: 12 kB / 0.6235 GB, free: 8.562 MB / 0.5886 GB 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.256e-05/0.006145, allocations: 95.23 kB / 0.6236 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.006324, allocations: 67.92 kB / 0.6237 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-06/0.006325, allocations: 0 / 0.6237 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.006393, allocations: 36.38 kB / 0.6237 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.006581, allocations: 6.031 kB / 0.6237 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.006832, allocations: 154.5 kB / 0.6239 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.367e-05/0.006876, allocations: 71.3 kB / 0.6239 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.006905, allocations: 12.5 kB / 0.6239 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.006906, allocations: 0 / 0.6239 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of Templates: time 0.001401/0.008306, allocations: 0.7738 MB / 0.6247 GB, free: 7.301 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.728833652101457] Failed to read output from testmodel.py, exit status != 0: 0.012692732736468315 0.019709162000000002 0.015320722 Calling exit ...