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.0007984/0.0007984, allocations: 80.44 kB / 19.91 MB, free: 4 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.0008782/0.0008782, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8947/0.8947, allocations: 177.2 MB / 203.6 MB, free: 5.75 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7246/0.7246, allocations: 154.9 MB / 414.9 MB, free: 0.5039 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.0009437/0.0009437, allocations: 71.89 kB / 0.6199 GB, free: 12.71 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.5005/0.5014, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00156/0.503, allocations: 0.7563 MB / 0.7202 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.5041, allocations: 1.176 MB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.5042, allocations: 0 / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.5042, allocations: 5.297 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.505e-05/0.5043, allocations: 16.69 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.5047, allocations: 127.7 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.5049, allocations: 139.2 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.505, allocations: 18.61 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.5051, allocations: 71.56 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.5052, allocations: 47.94 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.5052, allocations: 11.12 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.76e-05/0.5053, allocations: 24.42 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.5053, allocations: 9.562 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.5054, allocations: 46.7 kB / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.5056, allocations: 137.4 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5056, allocations: 1.312 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5056, allocations: 0.7031 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5056, allocations: 0 / 0.722 GB, free: 21.82 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.0004922/0.5061, allocations: 354.6 kB / 0.7224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5061, allocations: 11.25 kB / 0.7224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.5062, allocations: 14.52 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.242e-05/0.5063, allocations: 124.8 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5063, allocations: 7.484 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.5063, allocations: 6.219 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.5065, allocations: 76.06 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5065, allocations: 4.188 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5065, allocations: 5.859 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5065, allocations: 0 / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.5067, allocations: 71.53 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.507, allocations: 249.2 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5071, allocations: 63.11 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.522e-05/0.5072, allocations: 38.59 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.5072, allocations: 1.156 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.5074, allocations: 104.3 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.5074, allocations: 0.9688 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003718/0.5078, allocations: 167.9 kB / 0.7233 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.5078, allocations: 53.59 kB / 0.7233 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.5079, allocations: 123.6 kB / 0.7234 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5079, allocations: 27.95 kB / 0.7235 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.5079, allocations: 98.58 kB / 0.7236 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.5079, allocations: 20.83 kB / 0.7236 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.508, allocations: 33.98 kB / 0.7236 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.508, allocations: 323.6 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.5082, allocations: 86.66 kB / 0.724 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.5083, allocations: 119.1 kB / 0.7241 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.5085, allocations: 138.3 kB / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5085, allocations: 1.062 kB / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003128/0.5088, allocations: 247.8 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.5088, allocations: 35.31 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5089, allocations: 1.312 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5089, allocations: 1.062 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.509, allocations: 29.5 kB / 0.7245 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.509, allocations: 1.219 kB / 0.7245 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.5091, allocations: 35.08 kB / 0.7246 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.5091, allocations: 7.422 kB / 0.7246 GB, free: 19.84 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.39e-05/0.5092, allocations: 123.1 kB / 0.7247 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.5092, allocations: 8.172 kB / 0.7247 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.5092, allocations: 11.64 kB / 0.7247 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5092, allocations: 4.656 kB / 0.7247 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5092, allocations: 3.938 kB / 0.7247 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.5092, allocations: 11.11 kB / 0.7247 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.5092, allocations: 1.828 kB / 0.7247 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.5093, allocations: 12.09 kB / 0.7248 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.5093, allocations: 14.25 kB / 0.7248 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002349/0.5095, allocations: 211.2 kB / 0.725 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002079/0.5098, allocations: 299.2 kB / 0.7253 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.251e-05/0.5098, allocations: 42.52 kB / 0.7253 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.5099, allocations: 93.84 kB / 0.7254 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of Backend: time 2.41e-07/0.5099, allocations: 0 / 0.7254 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.5103, allocations: 258.7 kB / 0.7256 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003688/0.5107, allocations: 0.6077 MB / 0.7262 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.003998/0.5147, allocations: 1.97 MB / 0.7281 GB, free: 18.23 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.22377852210775] Failed to read output from testmodel.py, exit status != 0: 0.5205441899597645 0.5294045949999999 0.02191659299999994 Calling exit ...