Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007213/0.0007213, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009792/0.0017, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007295/0.0007295, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009434/0.001673, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.054/1.054, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.159, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7735/0.7735, allocations: 154.6 MB / 398.5 MB, free: 0.5391 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 NFInstanceAPI.mkTop(): time 0.2889/1.062, allocations: 49.04 MB / 447.6 MB, free: 6.762 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.486e-05, allocations: 2.312 kB / 448.9 MB, free: 5.414 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001524/0.001538, allocations: 0.8157 MB / 449.8 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.002877, allocations: 1.209 MB / 451 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.002914, allocations: 1.312 kB / 451 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.002935, allocations: 3.938 kB / 451 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.002982, allocations: 12.95 kB / 451 MB, free: 3.406 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.003266, allocations: 134.5 kB / 451.1 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.00344, allocations: 129.8 kB / 451.2 MB, free: 3.164 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.003516, allocations: 12.53 kB / 451.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.003642, allocations: 80.06 kB / 451.3 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.003717, allocations: 43.88 kB / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.003739, allocations: 11.94 kB / 451.4 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.799e-05/0.003807, allocations: 27.98 kB / 451.4 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.003824, allocations: 8 kB / 451.4 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.003861, allocations: 23.94 kB / 451.4 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003987, allocations: 87.67 kB / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.004001, allocations: 0.7188 kB / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004001, allocations: 0 / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.004015, allocations: 1.938 kB / 451.5 MB, free: 2.887 MB / 426.7 MB 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.0004531/0.004468, allocations: 332.1 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.004501, allocations: 8.031 kB / 451.9 MB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.004538, allocations: 12.92 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.004615, allocations: 113.8 kB / 452 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.004628, allocations: 8.375 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.004642, allocations: 4.375 kB / 452 MB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.004756, allocations: 75.61 kB / 452.1 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.004762, allocations: 192 / 452.1 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.004769, allocations: 1 kB / 452.1 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004776, allocations: 4.984 kB / 452.1 MB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.004802, allocations: 10.88 kB / 452.1 MB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.005029, allocations: 184.2 kB / 452.3 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.005066, allocations: 22.52 kB / 452.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.005085, allocations: 12.86 kB / 452.3 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.005103, allocations: 0.8906 kB / 452.3 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.276e-05/0.005186, allocations: 67.53 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005187, allocations: 0.8125 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001253/0.005312, allocations: 73.55 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.00534, allocations: 52.19 kB / 452.5 MB, free: 1.812 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.88e-05/0.005399, allocations: 122.7 kB / 452.6 MB, free: 1.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.005413, allocations: 29.64 kB / 452.6 MB, free: 1.645 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.005445, allocations: 97.91 kB / 452.7 MB, free: 1.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.005461, allocations: 15.84 kB / 452.8 MB, free: 1.531 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.005501, allocations: 33.69 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.005719, allocations: 318.8 kB / 453.1 MB, free: 1.172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.005765, allocations: 46.56 kB / 453.1 MB, free: 1.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.005815, allocations: 84.17 kB / 453.2 MB, free: 1.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.418e-05/0.005879, allocations: 85.38 kB / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005881, allocations: 0 / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000117/0.005998, allocations: 157.8 kB / 453.5 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.006029, allocations: 38.31 kB / 453.5 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006034, allocations: 3.938 kB / 453.5 MB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.006043, allocations: 5.312 kB / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.006112, allocations: 8 kB / 453.5 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.006115, allocations: 3.984 kB / 453.5 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.0062, allocations: 25.3 kB / 453.5 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.006214, allocations: 15.92 kB / 453.6 MB, free: 0.6523 MB / 426.7 MB 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 6.122e-05/0.006275, allocations: 114.9 kB / 453.7 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.006283, allocations: 4 kB / 453.7 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.006306, allocations: 19.45 kB / 453.7 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006308, allocations: 0 / 453.7 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.00631, allocations: 0.9062 kB / 453.7 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006312, allocations: 0 / 453.7 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.508e-05/0.006377, allocations: 86.45 kB / 453.8 MB, free: 420 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006379, allocations: 0 / 453.8 MB, free: 420 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.006413, allocations: 17.42 kB / 453.8 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.006421, allocations: 3.953 kB / 453.8 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006423, allocations: 0 / 453.8 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.006428, allocations: 4 kB / 453.8 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.006429, allocations: 4.719 kB / 453.8 MB, free: 392 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00643, allocations: 0 / 453.8 MB, free: 392 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.787e-05/0.006498, allocations: 82.48 kB / 453.9 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.006507, allocations: 384 / 453.9 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.006529, allocations: 4 kB / 453.9 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.006557, allocations: 12.77 kB / 453.9 MB, free: 276 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.006562, allocations: 11.94 kB / 453.9 MB, free: 264 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.412e-05/0.006576, allocations: 16.84 kB / 453.9 MB, free: 244 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006576, allocations: 0.5312 kB / 453.9 MB, free: 244 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001161/0.006692, allocations: 20.97 kB / 454 MB, free: 224 kB / 426.7 MB 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 8.748e-05/0.00678, allocations: 93.11 kB / 454 MB, free: 124 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.006922, allocations: 146.8 kB / 454.2 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.006928, allocations: 0 / 454.2 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.006955, allocations: 20.84 kB / 454.2 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.613e-05/0.007051, allocations: 21.67 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.007448, allocations: 161 kB / 454.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.007476, allocations: 63.34 kB / 454.5 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.403e-05/0.0075, allocations: 1.25 kB / 454.5 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.562e-05/0.007575, allocations: 71.98 kB / 454.5 MB, free: 15.59 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007576, allocations: 0 / 454.5 MB, free: 15.59 MB / 442.7 MB Notification: Performance of Templates: time 0.002943/0.01052, allocations: 1.788 MB / 456.3 MB, free: 13.92 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6475169556215405]