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.001699/0.001699, allocations: 88.72 kB / 19.44 MB, free: 356 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.00213/0.00213, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.506/1.506, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.261/1.261, allocations: 154.6 MB / 414.1 MB, free: 0.6641 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 178] 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 1.743e-06/1.743e-06, allocations: 0 / 0.5196 GB, free: 1.414 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.256e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.41 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002559/0.002591, allocations: 0.7818 MB / 0.5204 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.005141, allocations: 1.319 MB / 0.5217 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.005217, allocations: 0 / 0.5217 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 5.762e-05/0.005274, allocations: 11.81 kB / 0.5217 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.005395, allocations: 29.45 kB / 0.5217 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.006452, allocations: 314.9 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.006949, allocations: 291.5 kB / 0.5223 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.007081, allocations: 25.61 kB / 0.5223 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.007401, allocations: 163.8 kB / 0.5225 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.007641, allocations: 89.45 kB / 0.5226 GB, free: 14.42 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/0.00772, allocations: 31.98 kB / 0.5226 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.007834, allocations: 35.98 kB / 0.5226 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.007881, allocations: 23.92 kB / 0.5226 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.008055, allocations: 87.84 kB / 0.5227 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.008613, allocations: 316.4 kB / 0.523 GB, free: 13.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.008622, allocations: 4 kB / 0.523 GB, free: 13.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008622, allocations: 0 / 0.523 GB, free: 13.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.008627, allocations: 0 / 0.523 GB, free: 13.93 MB / 458.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.000939/0.009566, allocations: 463.3 kB / 0.5235 GB, free: 13.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.00961, allocations: 8.781 kB / 0.5235 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.009739, allocations: 24.89 kB / 0.5235 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.009916, allocations: 130 kB / 0.5236 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.009957, allocations: 12.38 kB / 0.5236 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.01004, allocations: 24.36 kB / 0.5237 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.01029, allocations: 92.69 kB / 0.5238 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.0103, allocations: 1.344 kB / 0.5238 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.01031, allocations: 0 / 0.5238 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01032, allocations: 4 kB / 0.5238 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.01048, allocations: 51.44 kB / 0.5238 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.01138, allocations: 384.1 kB / 0.5242 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.0117, allocations: 74.53 kB / 0.5242 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.01178, allocations: 24.92 kB / 0.5243 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.01179, allocations: 0 / 0.5243 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.01211, allocations: 119.5 kB / 0.5244 GB, free: 12.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.01211, allocations: 0 / 0.5244 GB, free: 12.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005483/0.01266, allocations: 176.4 kB / 0.5246 GB, free: 12.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.01273, allocations: 63.95 kB / 0.5246 GB, free: 12.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.01296, allocations: 158.2 kB / 0.5248 GB, free: 12.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.01302, allocations: 37.7 kB / 0.5248 GB, free: 11.97 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01315, allocations: 105 kB / 0.5249 GB, free: 11.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.01321, allocations: 36.72 kB / 0.5249 GB, free: 11.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.01342, allocations: 73.67 kB / 0.525 GB, free: 11.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.01365, allocations: 322.8 kB / 0.5253 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.01407, allocations: 190.5 kB / 0.5255 GB, free: 11.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.01453, allocations: 239 kB / 0.5257 GB, free: 10.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.01503, allocations: 251.4 kB / 0.526 GB, free: 10.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.01503, allocations: 5.625 kB / 0.526 GB, free: 10.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001144/0.01618, allocations: 0.4956 MB / 0.5265 GB, free: 10.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.0163, allocations: 101.8 kB / 0.5266 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01631, allocations: 0 / 0.5266 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.01633, allocations: 9.188 kB / 0.5266 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.01641, allocations: 11.98 kB / 0.5266 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.01642, allocations: 4 kB / 0.5266 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.01706, allocations: 86.3 kB / 0.5267 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.01712, allocations: 23.92 kB / 0.5267 GB, free: 9.879 MB / 458.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 0.0001913/0.01731, allocations: 136.5 kB / 0.5268 GB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.01735, allocations: 15.94 kB / 0.5268 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.244e-05/0.01741, allocations: 20.72 kB / 0.5268 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01741, allocations: 0 / 0.5268 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.01742, allocations: 0 / 0.5268 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.01742, allocations: 4 kB / 0.5268 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.01766, allocations: 150.4 kB / 0.527 GB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.01767, allocations: 4 kB / 0.527 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.01773, allocations: 4 kB / 0.527 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01773, allocations: 4.938 kB / 0.527 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.01775, allocations: 3.984 kB / 0.527 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.01775, allocations: 4.875 kB / 0.527 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.01776, allocations: 3.938 kB / 0.527 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.01813, allocations: 173 kB / 0.5272 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.01815, allocations: 8.609 kB / 0.5272 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01817, allocations: 5.188 kB / 0.5272 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.01823, allocations: 11.92 kB / 0.5272 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.01828, allocations: 11.98 kB / 0.5272 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.0183, allocations: 10.44 kB / 0.5272 GB, free: 9.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.01841, allocations: 109.1 kB / 0.5273 GB, free: 9.164 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01841, allocations: 0 / 0.5273 GB, free: 9.164 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004468/0.01886, allocations: 51.95 kB / 0.5274 GB, free: 9.113 MB / 458.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.0002121/0.01907, allocations: 103.1 kB / 0.5275 GB, free: 9.004 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008324/0.01991, allocations: 444.5 kB / 0.5279 GB, free: 8.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01991, allocations: 0 / 0.5279 GB, free: 8.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.02003, allocations: 43.92 kB / 0.5279 GB, free: 8.477 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.02042, allocations: 28.42 kB / 0.528 GB, free: 8.449 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.02108, allocations: 250.8 kB / 0.5282 GB, free: 8.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.02121, allocations: 105.8 kB / 0.5283 GB, free: 8.059 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.626e-05/0.02126, allocations: 4.984 kB / 0.5283 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.0213, allocations: 16.5 kB / 0.5283 GB, free: 8.039 MB / 458.7 MB Notification: Performance of SimCode: time 4.7e-07/0.0213, allocations: 3.938 kB / 0.5283 GB, free: 8.035 MB / 458.7 MB Notification: Performance of Templates: time 0.009021/0.03032, allocations: 3.032 MB / 0.5313 GB, free: 5.184 MB / 458.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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.889402264961973]