Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0006159/0.0006159, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008096/0.001426, 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.000671/0.000671, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008246/0.001496, 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 0.9655/0.9655, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09962/1.065, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7969/0.7969, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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.2884/1.085, allocations: 49.03 MB / 447.6 MB, free: 6.688 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 448.9 MB, free: 5.398 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.867e-05/4.092e-05, allocations: 2.312 kB / 448.9 MB, free: 5.395 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002083/0.002124, allocations: 0.861 MB / 449.7 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.003974, allocations: 1.35 MB / 451.1 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.004048, allocations: 0 / 451.1 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/0.004091, allocations: 8.438 kB / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.004174, allocations: 29.25 kB / 451.1 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.004869, allocations: 305.8 kB / 451.4 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.00528, allocations: 287 kB / 451.7 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.005406, allocations: 34.75 kB / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.005634, allocations: 171.7 kB / 451.9 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.005813, allocations: 92.48 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.005866, allocations: 25.91 kB / 452 MB, free: 2.312 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.005999, allocations: 40 kB / 452.1 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.006031, allocations: 23.86 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.006122, allocations: 55.94 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.006441, allocations: 175.5 kB / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.516e-05/0.006466, allocations: 0 / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.006468, allocations: 0.9062 kB / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.006492, allocations: 0 / 452.3 MB, free: 2.023 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00077/0.007262, allocations: 469 kB / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.0073, allocations: 8.031 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.007357, allocations: 24.92 kB / 452.8 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.007542, allocations: 142.2 kB / 452.9 MB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.007566, allocations: 16.31 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.007593, allocations: 21.25 kB / 453 MB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.007706, allocations: 90.22 kB / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.007716, allocations: 1.281 kB / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.007725, allocations: 3.984 kB / 453.1 MB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.007732, allocations: 4 kB / 453.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.007771, allocations: 22.22 kB / 453.1 MB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.008139, allocations: 258.2 kB / 453.3 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.008285, allocations: 55.86 kB / 453.4 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.008308, allocations: 16.86 kB / 453.4 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.008315, allocations: 1.188 kB / 453.4 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.008449, allocations: 103.2 kB / 453.5 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.657e-06/0.008453, allocations: 1.797 kB / 453.5 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001683/0.008621, allocations: 104.6 kB / 453.6 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.008661, allocations: 60.41 kB / 453.7 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.008749, allocations: 162.6 kB / 453.8 MB, free: 372 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.008777, allocations: 37.7 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.008834, allocations: 105.5 kB / 454 MB, free: 220 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.008853, allocations: 31.78 kB / 454 MB, free: 188 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.008931, allocations: 70.3 kB / 454.1 MB, free: 112 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.009031, allocations: 330.7 kB / 454.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.009143, allocations: 149.7 kB / 454.5 MB, free: 15.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.009265, allocations: 200.5 kB / 454.7 MB, free: 15.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.009418, allocations: 225.1 kB / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.009422, allocations: 4 kB / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005787/0.01, allocations: 390 kB / 455.3 MB, free: 14.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.01006, allocations: 102 kB / 455.4 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.01007, allocations: 8 kB / 455.5 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.01009, allocations: 3.938 kB / 455.5 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.01014, allocations: 16.56 kB / 455.5 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.01014, allocations: 4.625 kB / 455.5 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.01032, allocations: 67.05 kB / 455.5 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.01034, allocations: 15.98 kB / 455.6 MB, free: 14.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 8.267e-05/0.01042, allocations: 129.8 kB / 455.7 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.01044, allocations: 11.98 kB / 455.7 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.01047, allocations: 12.77 kB / 455.7 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01047, allocations: 8.594 kB / 455.7 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01047, allocations: 1.219 kB / 455.7 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01048, allocations: 1.406 kB / 455.7 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.299e-05/0.01057, allocations: 97.8 kB / 455.8 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01057, allocations: 0 / 455.8 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.0106, allocations: 16.83 kB / 455.8 MB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.01061, allocations: 7.953 kB / 455.8 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01062, allocations: 0.625 kB / 455.8 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.01062, allocations: 4.625 kB / 455.8 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01062, allocations: 0 / 455.8 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01063, allocations: 8.547 kB / 455.9 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.01073, allocations: 109 kB / 456 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.01074, allocations: 4.625 kB / 456 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.01076, allocations: 4 kB / 456 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.01079, allocations: 16.53 kB / 456 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.0108, allocations: 8.562 kB / 456 MB, free: 13.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.01083, allocations: 30.14 kB / 456 MB, free: 13.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01083, allocations: 0.9375 kB / 456 MB, free: 13.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.01097, allocations: 51.95 kB / 456.1 MB, free: 13.91 MB / 442.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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00013/0.0111, allocations: 89.91 kB / 456.2 MB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.01136, allocations: 400.9 kB / 456.6 MB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.01137, allocations: 4 kB / 456.6 MB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.0114, allocations: 33.83 kB / 456.6 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.01155, allocations: 41.84 kB / 456.6 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.01204, allocations: 235.9 kB / 456.9 MB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.01208, allocations: 64 kB / 456.9 MB, free: 12.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.793e-05/0.01211, allocations: 10.2 kB / 456.9 MB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.01224, allocations: 99.33 kB / 457 MB, free: 12.84 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01224, allocations: 0 / 457 MB, free: 12.84 MB / 442.7 MB Notification: Performance of Templates: time 0.005111/0.01735, allocations: 3.383 MB / 460.4 MB, free: 9.707 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.601111206226051]