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.0008044/0.0008044, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.00075/0.00075, allocations: 211.9 kB / 23.01 MB, free: 3.105 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 0.8548/0.8548, allocations: 230.6 MB / 256.8 MB, free: 3.434 MB / 202.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.7236/0.7236, allocations: 203.8 MB / 0.5049 GB, free: 0.6992 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008519/0.0008519, allocations: 63.89 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3838, allocations: 102 MB / 0.8191 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001411/0.3853, allocations: 0.7016 MB / 0.8198 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.386, allocations: 0.8373 MB / 0.8206 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.386, allocations: 0.875 kB / 0.8206 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.386, allocations: 5.531 kB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.3861, allocations: 4.547 kB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.421e-05/0.3861, allocations: 17.27 kB / 0.8207 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.3862, allocations: 38.12 kB / 0.8207 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.3863, allocations: 9.406 kB / 0.8207 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.3864, allocations: 25.25 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.3864, allocations: 22.33 kB / 0.8208 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3864, allocations: 4.031 kB / 0.8208 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.3865, allocations: 4.188 kB / 0.8208 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.3865, allocations: 7.25 kB / 0.8208 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.3865, allocations: 23.08 kB / 0.8208 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.566e-05/0.3866, allocations: 40.36 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3866, allocations: 0 / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3866, allocations: 0.7031 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3866, allocations: 1.125 kB / 0.8208 GB, free: 24.11 MB / 0.6355 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.0003441/0.3869, allocations: 290 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.387, allocations: 11.7 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.387, allocations: 7.234 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.244e-05/0.3871, allocations: 110.9 kB / 0.8212 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3871, allocations: 7.75 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3871, allocations: 2.562 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3873, allocations: 72.06 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3873, allocations: 1.406 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3873, allocations: 8.375 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3873, allocations: 1.5 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.3874, allocations: 65.02 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.3877, allocations: 238.6 kB / 0.8216 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.3878, allocations: 54.75 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.3879, allocations: 41.78 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.3879, allocations: 3.188 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.3879, allocations: 32.33 kB / 0.8217 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.3879, allocations: 0 / 0.8217 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003187/0.3882, allocations: 128.1 kB / 0.8219 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.3883, allocations: 55.41 kB / 0.8219 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/0.3883, allocations: 107.9 kB / 0.822 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-06/0.3883, allocations: 30.3 kB / 0.822 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/0.3883, allocations: 87.89 kB / 0.8221 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.3884, allocations: 17.45 kB / 0.8221 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.3884, allocations: 12.7 kB / 0.8222 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.084e-05/0.3884, allocations: 322 kB / 0.8225 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.3885, allocations: 31.2 kB / 0.8225 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.3886, allocations: 30.56 kB / 0.8225 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.3887, allocations: 70.31 kB / 0.8226 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3887, allocations: 4.688 kB / 0.8226 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001635/0.3889, allocations: 98.06 kB / 0.8227 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3889, allocations: 9.594 kB / 0.8227 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3889, allocations: 320 / 0.8227 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3889, allocations: 1.25 kB / 0.8227 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.389, allocations: 19.05 kB / 0.8227 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.389, allocations: 4.922 kB / 0.8227 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.389, allocations: 15.41 kB / 0.8227 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.389, allocations: 5.172 kB / 0.8227 GB, free: 22.54 MB / 0.6355 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 3.785e-05/0.3891, allocations: 122.2 kB / 0.8229 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3891, allocations: 1.531 kB / 0.8229 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.3891, allocations: 10.2 kB / 0.8229 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3891, allocations: 1 kB / 0.8229 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3891, allocations: 0 / 0.8229 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3891, allocations: 1.719 kB / 0.8229 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.439e-05/0.3892, allocations: 137.5 kB / 0.823 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-07/0.3892, allocations: 3.938 kB / 0.823 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.3892, allocations: 16.44 kB / 0.823 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3892, allocations: 0 / 0.823 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.3892, allocations: 9.594 kB / 0.823 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3892, allocations: 1.078 kB / 0.823 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3892, allocations: 0 / 0.823 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.3894, allocations: 197.5 kB / 0.8232 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.3894, allocations: 3.172 kB / 0.8232 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.3894, allocations: 4 kB / 0.8232 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.3895, allocations: 17.17 kB / 0.8232 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.3895, allocations: 2.812 kB / 0.8232 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.3895, allocations: 0.5938 kB / 0.8232 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.93e-05/0.3895, allocations: 88.34 kB / 0.8233 GB, free: 22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3895, allocations: 0 / 0.8233 GB, free: 22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001361/0.3897, allocations: 5.938 kB / 0.8233 GB, free: 22 MB / 0.6355 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 7.389e-05/0.3898, allocations: 97.86 kB / 0.8234 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.39, allocations: 66.42 kB / 0.8235 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.39, allocations: 1.031 kB / 0.8235 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.39, allocations: 40.47 kB / 0.8235 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.3902, allocations: 17.12 kB / 0.8235 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.3905, allocations: 148.3 kB / 0.8237 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.3906, allocations: 0.6798 MB / 0.8244 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.3906, allocations: 13.78 kB / 0.8244 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.3906, allocations: 0 / 0.8244 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.001836/0.3924, allocations: 0.7505 MB / 0.8251 GB, free: 20.98 MB / 0.6355 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: 5.348699361085892] Failed to read output from testmodel.py, exit status != 0: 0.39742998499423265 0.405750229 0.017407015 Calling exit ...