Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0006444/0.0006444, 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.0008589/0.0008589, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.9322/0.9322, allocations: 230.6 MB / 256.8 MB, free: 9.805 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.7695/0.7695, allocations: 203.8 MB / 0.5049 GB, free: 10.73 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [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.001001/0.001001, allocations: 67.42 kB / 0.7195 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4808, allocations: 102 MB / 0.8191 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001398/0.4822, allocations: 0.7031 MB / 0.8198 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.483, allocations: 0.9019 MB / 0.8207 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.483, allocations: 1.25 kB / 0.8207 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.483, allocations: 3.938 kB / 0.8207 GB, free: 428 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.4831, allocations: 12.44 kB / 0.8207 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.4833, allocations: 19.83 kB / 0.8207 GB, free: 408 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.102e-05/0.4834, allocations: 37.66 kB / 0.8208 GB, free: 392 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.4835, allocations: 13.94 kB / 0.8208 GB, free: 384 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.4836, allocations: 22.2 kB / 0.8208 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.4836, allocations: 15.77 kB / 0.8208 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.4836, allocations: 5.094 kB / 0.8208 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.4836, allocations: 3.312 kB / 0.8208 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.4837, allocations: 10.33 kB / 0.8208 GB, free: 356 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.4837, allocations: 21.75 kB / 0.8209 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.4838, allocations: 45.88 kB / 0.8209 GB, free: 324 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4838, allocations: 4 kB / 0.8209 GB, free: 320 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4838, allocations: 0 / 0.8209 GB, free: 320 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4838, allocations: 0 / 0.8209 GB, free: 320 kB / 0.6042 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.0003742/0.4842, allocations: 296.2 kB / 0.8212 GB, free: 32 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.4842, allocations: 6.938 kB / 0.8212 GB, free: 32 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.4842, allocations: 8.562 kB / 0.8212 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.4844, allocations: 106 kB / 0.8213 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4844, allocations: 5.828 kB / 0.8213 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4844, allocations: 3.031 kB / 0.8213 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.4846, allocations: 68.08 kB / 0.8214 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.4846, allocations: 0.7031 kB / 0.8214 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4846, allocations: 11.86 kB / 0.8214 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4846, allocations: 2 kB / 0.8214 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.4847, allocations: 72.75 kB / 0.8215 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.485, allocations: 234.2 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.4852, allocations: 55.95 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.4853, allocations: 48.95 kB / 0.8218 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.4853, allocations: 4.484 kB / 0.8218 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.4853, allocations: 34.5 kB / 0.8218 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4853, allocations: 0 / 0.8218 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003098/0.4856, allocations: 128.7 kB / 0.8219 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.4856, allocations: 52.2 kB / 0.822 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.4857, allocations: 109.5 kB / 0.8221 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.4857, allocations: 27.11 kB / 0.8221 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.4858, allocations: 87.28 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.4858, allocations: 13.92 kB / 0.8222 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.4858, allocations: 18.36 kB / 0.8222 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.4859, allocations: 312.2 kB / 0.8225 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.486, allocations: 35.25 kB / 0.8226 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.486, allocations: 35.83 kB / 0.8226 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4862, allocations: 68.17 kB / 0.8227 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4862, allocations: 7.938 kB / 0.8227 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001649/0.4863, allocations: 95.94 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4863, allocations: 3.281 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4864, allocations: 0.5156 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4864, allocations: 0 / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.4865, allocations: 16.2 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4865, allocations: 0 / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.4865, allocations: 22.22 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4865, allocations: 0 / 0.8228 GB, free: 14.73 MB / 0.6198 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 6.449e-05/0.4866, allocations: 120.5 kB / 0.8229 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.4866, allocations: 4.656 kB / 0.8229 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.4866, allocations: 12.55 kB / 0.8229 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4866, allocations: 0 / 0.8229 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4866, allocations: 0.6562 kB / 0.8229 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.4866, allocations: 0 / 0.8229 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.4867, allocations: 155.7 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4867, allocations: 3.938 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.4868, allocations: 15.61 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4868, allocations: 0 / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.4868, allocations: 3.891 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4868, allocations: 0 / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4868, allocations: 3.781 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.487, allocations: 196.8 kB / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.487, allocations: 6.688 kB / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.487, allocations: 0 / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.4871, allocations: 11.16 kB / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.4871, allocations: 9.453 kB / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.4871, allocations: 5.375 kB / 0.8233 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.4872, allocations: 91.67 kB / 0.8234 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4872, allocations: 0 / 0.8234 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001388/0.4873, allocations: 6.469 kB / 0.8234 GB, free: 14.16 MB / 0.6198 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 0.0001075/0.4874, allocations: 92.39 kB / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.4876, allocations: 72.02 kB / 0.8236 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4876, allocations: 4 kB / 0.8236 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.4877, allocations: 33.73 kB / 0.8236 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.4879, allocations: 15.34 kB / 0.8236 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.4882, allocations: 148.8 kB / 0.8238 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4884, allocations: 0.6794 MB / 0.8244 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.4884, allocations: 14.94 kB / 0.8244 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.4884, allocations: 0 / 0.8244 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.001791/0.4902, allocations: 0.737 MB / 0.8252 GB, free: 13.15 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.603232515975833] Failed to read output from testmodel.py, exit status != 0: 0.49720857106149197 0.509604672 0.023484169000000003 Calling exit ...