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.0007618/0.0007618, allocations: 72.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.000731/0.000731, allocations: 177.9 kB / 23.21 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.8477/0.8477, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:190: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-531:198: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.6707/0.6707, allocations: 154.6 MB / 414.5 MB, free: 0.832 MB / 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.723e-06/1.723e-06, allocations: 0 / 0.6193 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.675e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001046/0.001062, allocations: 0.6863 MB / 0.62 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.001735, allocations: 0.8276 MB / 0.6208 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.001765, allocations: 4 kB / 0.6208 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.001791, allocations: 3.938 kB / 0.6208 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.001846, allocations: 3.938 kB / 0.6208 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.428e-05/0.0019, allocations: 19.97 kB / 0.6208 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.001971, allocations: 39.86 kB / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.002064, allocations: 11.98 kB / 0.6209 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.002128, allocations: 23.92 kB / 0.6209 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.246e-05/0.00216, allocations: 15.97 kB / 0.6209 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.002182, allocations: 4 kB / 0.6209 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-06/0.002188, allocations: 4 kB / 0.6209 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.002203, allocations: 15.92 kB / 0.621 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.002221, allocations: 8 kB / 0.621 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.002299, allocations: 43.86 kB / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002301, allocations: 0 / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.002303, allocations: 4 kB / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.002307, allocations: 0 / 0.621 GB, free: 11.31 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.0003523/0.002659, allocations: 286.2 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.002691, allocations: 9.469 kB / 0.6213 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.002719, allocations: 8.891 kB / 0.6213 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.002791, allocations: 117.7 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.0028, allocations: 8.312 kB / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.002809, allocations: 384 / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.002952, allocations: 70.22 kB / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.002959, allocations: 192 / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.002967, allocations: 384 / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.00297, allocations: 384 / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.003105, allocations: 75.84 kB / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.003362, allocations: 208.5 kB / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.00347, allocations: 58.53 kB / 0.6218 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.003543, allocations: 32.92 kB / 0.6219 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.003553, allocations: 0 / 0.6219 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.003572, allocations: 38.56 kB / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.003572, allocations: 0 / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002857/0.003858, allocations: 133.5 kB / 0.622 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.003885, allocations: 51.41 kB / 0.6221 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.003941, allocations: 109.8 kB / 0.6222 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.003951, allocations: 29.7 kB / 0.6222 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.003985, allocations: 88.09 kB / 0.6223 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.004001, allocations: 11.89 kB / 0.6223 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.004024, allocations: 17.7 kB / 0.6223 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003156/0.004339, allocations: 318.8 kB / 0.6226 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.004404, allocations: 27.97 kB / 0.6226 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.004491, allocations: 31.95 kB / 0.6227 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.004635, allocations: 72.78 kB / 0.6227 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.004636, allocations: 0 / 0.6227 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001498/0.004786, allocations: 97.56 kB / 0.6228 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.004798, allocations: 7.938 kB / 0.6228 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.004802, allocations: 0 / 0.6228 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.004814, allocations: 11.94 kB / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.004884, allocations: 15.98 kB / 0.6229 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.004889, allocations: 0 / 0.6229 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.004924, allocations: 19.92 kB / 0.6229 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.004929, allocations: 0 / 0.6229 GB, free: 9.215 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 4.9e-05/0.004978, allocations: 114.8 kB / 0.623 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.004988, allocations: 0 / 0.623 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.005007, allocations: 11.94 kB / 0.623 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005008, allocations: 0 / 0.623 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.005012, allocations: 4 kB / 0.623 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005014, allocations: 0 / 0.623 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.222e-05/0.005096, allocations: 113.3 kB / 0.6231 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005097, allocations: 0 / 0.6231 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.005133, allocations: 15.97 kB / 0.6231 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.005135, allocations: 7.938 kB / 0.6231 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.005141, allocations: 0 / 0.6231 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.005143, allocations: 3.938 kB / 0.6231 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.005145, allocations: 3.938 kB / 0.6231 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.005315, allocations: 191.8 kB / 0.6233 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.005321, allocations: 4 kB / 0.6233 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.005329, allocations: 48 / 0.6233 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.00538, allocations: 27.89 kB / 0.6234 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.005416, allocations: 0 / 0.6234 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.005418, allocations: 0 / 0.6234 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.005446, allocations: 91.27 kB / 0.6234 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005446, allocations: 4 kB / 0.6235 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001318/0.005578, allocations: 8 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 6.595e-05/0.005644, allocations: 91.25 kB / 0.6235 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.005812, allocations: 67.86 kB / 0.6236 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.005813, allocations: 0 / 0.6236 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.00588, allocations: 39.95 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.0001783/0.006059, allocations: 8 kB / 0.6237 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.006302, allocations: 146.6 kB / 0.6238 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.006344, allocations: 75.22 kB / 0.6239 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.006376, allocations: 16.5 kB / 0.6239 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/0.006377, allocations: 0 / 0.6239 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of Templates: time 0.001307/0.007683, allocations: 0.7704 MB / 0.6246 GB, free: 7.301 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.940458883531392] Failed to read output from testmodel.py, exit status != 0: 0.011729630641639233 0.018918917 0.015113784000000002 Calling exit ...