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.000795/0.000795, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009053/0.0009053, allocations: 169 kB / 23.02 MB, free: 1.551 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.978/0.978, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.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.76/0.76, allocations: 154.6 MB / 414.5 MB, free: 0.668 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. " [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.655e-06/2.655e-06, allocations: 0 / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.747e-05, allocations: 4 kB / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002194/0.002232, allocations: 0.8118 MB / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.003649, allocations: 1.343 MB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.003712, allocations: 0.5625 kB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.003755, allocations: 11.86 kB / 0.5224 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.003854, allocations: 21.06 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.004622, allocations: 317 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.004898, allocations: 293.3 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.005027, allocations: 37.58 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.005211, allocations: 159.8 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.005367, allocations: 83.78 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.00541, allocations: 29.72 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.005493, allocations: 39.98 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.005521, allocations: 19.92 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.005612, allocations: 91.78 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.005867, allocations: 219.4 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00587, allocations: 5.375 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00587, allocations: 0 / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.005875, allocations: 0 / 0.5237 GB, free: 14.72 MB / 0.4948 GB 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.0005364/0.006412, allocations: 0.5485 MB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.006453, allocations: 12.03 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.006533, allocations: 29.53 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.006647, allocations: 130.1 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.006678, allocations: 13.84 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.006715, allocations: 24.31 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.006872, allocations: 88.36 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.006886, allocations: 3.984 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.006908, allocations: 9.344 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.006919, allocations: 0 / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.726e-05/0.006986, allocations: 27.98 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.007666, allocations: 446.7 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.007868, allocations: 59.05 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.007914, allocations: 23.73 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.007924, allocations: 4 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.00807, allocations: 104.9 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.008071, allocations: 0 / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003104/0.008381, allocations: 164.5 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.008417, allocations: 51.97 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.008547, allocations: 207 kB / 0.5256 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.008578, allocations: 34.27 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.008671, allocations: 163.8 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.008701, allocations: 35.73 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.008825, allocations: 80.23 kB / 0.5259 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.00897, allocations: 0.4923 MB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.009181, allocations: 166.5 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.009406, allocations: 246.3 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.009647, allocations: 250 kB / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.00965, allocations: 0 / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005586/0.01021, allocations: 484 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/0.01027, allocations: 101 kB / 0.5275 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01028, allocations: 0 / 0.5275 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01029, allocations: 4 kB / 0.5275 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.01035, allocations: 18.67 kB / 0.5276 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01035, allocations: 4 kB / 0.5276 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.0106, allocations: 59.89 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.01064, allocations: 27.97 kB / 0.5277 GB, free: 10.31 MB / 0.4948 GB 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 0.0001129/0.01075, allocations: 177.6 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.01077, allocations: 15.95 kB / 0.5278 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.01082, allocations: 25.62 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01082, allocations: 0 / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01082, allocations: 0.9375 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01083, allocations: 0 / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.01095, allocations: 160.5 kB / 0.528 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01096, allocations: 4.641 kB / 0.528 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.01099, allocations: 9.188 kB / 0.528 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01099, allocations: 0 / 0.528 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.011, allocations: 0 / 0.528 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01101, allocations: 11.88 kB / 0.528 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01101, allocations: 2.438 kB / 0.528 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.01119, allocations: 164.3 kB / 0.5282 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.01121, allocations: 15.89 kB / 0.5282 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.01122, allocations: 4 kB / 0.5282 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.01125, allocations: 7.938 kB / 0.5282 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01129, allocations: 7.984 kB / 0.5282 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.0113, allocations: 15.05 kB / 0.5283 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.01136, allocations: 146.2 kB / 0.5284 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01136, allocations: 0 / 0.5284 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002667/0.01162, allocations: 51.94 kB / 0.5284 GB, free: 9.453 MB / 0.4948 GB 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.0001419/0.01176, allocations: 110.5 kB / 0.5285 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.01218, allocations: 422.5 kB / 0.5289 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01218, allocations: 0 / 0.5289 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.01225, allocations: 55.59 kB / 0.529 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01248, allocations: 27.25 kB / 0.529 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.01288, allocations: 245.9 kB / 0.5293 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.01293, allocations: 70.53 kB / 0.5293 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.92e-05/0.01297, allocations: 8.984 kB / 0.5293 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.013, allocations: 20.48 kB / 0.5294 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/0.013, allocations: 0 / 0.5294 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of Templates: time 0.005386/0.01838, allocations: 3.015 MB / 0.5323 GB, free: 5.559 MB / 0.4948 GB " [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.912905069999397]