Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.0008004/0.0008004, allocations: 72.45 kB / 19.91 MB, free: 12 kB / 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.0007677/0.0007677, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.839/0.839, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.6889/0.6889, allocations: 154.9 MB / 415 MB, free: 0.5 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [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.0008886/0.0008886, allocations: 70.19 kB / 0.62 GB, free: 12.67 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4006, allocations: 102 MB / 0.7195 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001385/0.402, allocations: 0.7611 MB / 0.7203 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.403, allocations: 1.175 MB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.4031, allocations: 0 / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.4031, allocations: 5.609 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.4032, allocations: 12.02 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.4035, allocations: 141.1 kB / 0.7216 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.4037, allocations: 126.5 kB / 0.7217 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.4038, allocations: 11.62 kB / 0.7217 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.4039, allocations: 79.58 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.404, allocations: 48.5 kB / 0.7218 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.404, allocations: 10.59 kB / 0.7219 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.4041, allocations: 20.58 kB / 0.7219 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.4041, allocations: 20.59 kB / 0.7219 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.4041, allocations: 43.81 kB / 0.7219 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.4043, allocations: 145 kB / 0.7221 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4043, allocations: 1.125 kB / 0.7221 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4043, allocations: 0 / 0.7221 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4043, allocations: 0 / 0.7221 GB, free: 21.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004566/0.4048, allocations: 360.1 kB / 0.7224 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4048, allocations: 11.5 kB / 0.7224 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.4049, allocations: 9.734 kB / 0.7224 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.903e-05/0.4049, allocations: 116.7 kB / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4049, allocations: 4.531 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.405, allocations: 6 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4051, allocations: 84.34 kB / 0.7226 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4052, allocations: 192 / 0.7226 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4052, allocations: 8.734 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4052, allocations: 1.062 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.4053, allocations: 67.02 kB / 0.7227 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.4056, allocations: 252.8 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4058, allocations: 63 kB / 0.723 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.4058, allocations: 46.72 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4059, allocations: 5.125 kB / 0.7231 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.406, allocations: 95.91 kB / 0.7232 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.406, allocations: 1.094 kB / 0.7232 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000367/0.4064, allocations: 168 kB / 0.7233 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.4064, allocations: 53.77 kB / 0.7234 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.4065, allocations: 123.8 kB / 0.7235 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.4065, allocations: 29.09 kB / 0.7235 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.4065, allocations: 93.73 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.4066, allocations: 20.09 kB / 0.7236 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.4066, allocations: 30.97 kB / 0.7236 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.812e-05/0.4066, allocations: 320.1 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.4068, allocations: 94.72 kB / 0.724 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.4069, allocations: 110.2 kB / 0.7241 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4071, allocations: 143.1 kB / 0.7243 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.4071, allocations: 8.688 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003064/0.4074, allocations: 243.8 kB / 0.7245 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4074, allocations: 39.44 kB / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4074, allocations: 0 / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4075, allocations: 2.844 kB / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.4075, allocations: 16.5 kB / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4075, allocations: 6.438 kB / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4077, allocations: 34.05 kB / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4077, allocations: 7.094 kB / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.254e-05/0.4077, allocations: 130.7 kB / 0.7248 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.4077, allocations: 8.188 kB / 0.7248 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.4078, allocations: 10.19 kB / 0.7248 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4078, allocations: 1.219 kB / 0.7248 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4078, allocations: 5.094 kB / 0.7248 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4078, allocations: 0.75 kB / 0.7248 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.302e-05/0.4078, allocations: 126.1 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4078, allocations: 2.656 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.4079, allocations: 18.62 kB / 0.7249 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4079, allocations: 1.031 kB / 0.7249 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4079, allocations: 1.688 kB / 0.7249 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4079, allocations: 1.25 kB / 0.7249 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4079, allocations: 320 / 0.7249 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.4081, allocations: 161.6 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.4081, allocations: 7.219 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.4081, allocations: 6.047 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.4082, allocations: 11.25 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.4082, allocations: 10.06 kB / 0.7251 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.4082, allocations: 3.297 kB / 0.7251 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.4083, allocations: 97.94 kB / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4083, allocations: 4 kB / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001549/0.4084, allocations: 24.8 kB / 0.7252 GB, free: 19.29 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001024/0.4085, allocations: 96.27 kB / 0.7253 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.4088, allocations: 207.5 kB / 0.7255 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4088, allocations: 0 / 0.7255 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4089, allocations: 49.12 kB / 0.7256 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.4091, allocations: 21.81 kB / 0.7256 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.4093, allocations: 191.8 kB / 0.7258 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.4094, allocations: 71.42 kB / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.4094, allocations: 12.53 kB / 0.7259 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.4094, allocations: 4 kB / 0.7259 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.002304/0.4117, allocations: 1.339 MB / 0.7272 GB, free: 18.7 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.428321675164625] Failed to read output from testmodel.py, exit status != 0: 0.41668923920951784 0.42503861 0.018711327 Calling exit ...