Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001009/0.001009, allocations: 93.06 kB / 19.65 MB, free: 272 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.001182/0.001182, allocations: 173 kB / 23.02 MB, free: 1.543 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.9934/0.9934, allocations: 177.1 MB / 203.4 MB, free: 5.637 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8015/0.8015, allocations: 154.9 MB / 414.8 MB, free: 408 kB / 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5207 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.749e-05, allocations: 3.906 kB / 0.5207 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001508/0.001536, allocations: 0.8211 MB / 0.5215 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.002905, allocations: 1.343 MB / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.002965, allocations: 0 / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.003005, allocations: 9.125 kB / 0.5228 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.209e-05/0.003097, allocations: 31.72 kB / 0.5228 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.003777, allocations: 310.9 kB / 0.5231 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.004036, allocations: 291.5 kB / 0.5234 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004152, allocations: 25.61 kB / 0.5234 GB, free: 13.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.004306, allocations: 167.8 kB / 0.5236 GB, free: 13.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.004439, allocations: 87.72 kB / 0.5237 GB, free: 13.67 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.004479, allocations: 28.56 kB / 0.5237 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.004551, allocations: 40.48 kB / 0.5238 GB, free: 13.6 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.004579, allocations: 23.91 kB / 0.5238 GB, free: 13.58 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.004664, allocations: 88.83 kB / 0.5239 GB, free: 13.49 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.004897, allocations: 223.4 kB / 0.5241 GB, free: 13.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.0049, allocations: 5.406 kB / 0.5241 GB, free: 13.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.004902, allocations: 4 kB / 0.5241 GB, free: 13.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.004907, allocations: 0 / 0.5241 GB, free: 13.27 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.0005314/0.005438, allocations: 0.5402 MB / 0.5246 GB, free: 12.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.005478, allocations: 12.59 kB / 0.5246 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.00555, allocations: 20.89 kB / 0.5246 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.005756, allocations: 174.5 kB / 0.5248 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.005781, allocations: 12.38 kB / 0.5248 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.00581, allocations: 18.16 kB / 0.5248 GB, free: 12.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.005947, allocations: 102.2 kB / 0.5249 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.005955, allocations: 0 / 0.5249 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.005967, allocations: 4 kB / 0.5249 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.005976, allocations: 0 / 0.5249 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.709e-05/0.006033, allocations: 31.3 kB / 0.525 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.006507, allocations: 440.2 kB / 0.5254 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.006683, allocations: 56.55 kB / 0.5254 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.006716, allocations: 23.73 kB / 0.5255 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.006723, allocations: 4 kB / 0.5255 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.006847, allocations: 113.1 kB / 0.5256 GB, free: 11.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 2.324e-06/0.006849, allocations: 0.7812 kB / 0.5256 GB, free: 11.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002638/0.007113, allocations: 146.7 kB / 0.5257 GB, free: 11.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.007149, allocations: 55.41 kB / 0.5258 GB, free: 11.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.007262, allocations: 215.4 kB / 0.526 GB, free: 11.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.007292, allocations: 37.7 kB / 0.526 GB, free: 11.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.007363, allocations: 158 kB / 0.5262 GB, free: 10.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.007387, allocations: 31.73 kB / 0.5262 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.007473, allocations: 83.33 kB / 0.5263 GB, free: 10.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.007593, allocations: 0.4961 MB / 0.5268 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.00775, allocations: 165 kB / 0.5269 GB, free: 10.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.007924, allocations: 250.1 kB / 0.5271 GB, free: 9.852 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.008392, allocations: 251.8 kB / 0.5274 GB, free: 9.562 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.008395, allocations: 4 kB / 0.5274 GB, free: 9.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004219/0.008817, allocations: 480.7 kB / 0.5279 GB, free: 9.047 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.008876, allocations: 106.2 kB / 0.528 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.008882, allocations: 0 / 0.528 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.008901, allocations: 4 kB / 0.528 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.008953, allocations: 16.55 kB / 0.528 GB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.008959, allocations: 4 kB / 0.528 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.009164, allocations: 68.05 kB / 0.528 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.009191, allocations: 19.98 kB / 0.5281 GB, free: 8.82 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.0001033/0.009295, allocations: 172.6 kB / 0.5282 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.009312, allocations: 15.89 kB / 0.5282 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.009345, allocations: 20.7 kB / 0.5283 GB, free: 8.602 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.009347, allocations: 4 kB / 0.5283 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.009352, allocations: 3.125 kB / 0.5283 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009356, allocations: 0 / 0.5283 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.009459, allocations: 144.6 kB / 0.5284 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.009463, allocations: 4 kB / 0.5284 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.009493, allocations: 7.984 kB / 0.5284 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.009497, allocations: 4 kB / 0.5284 GB, free: 8.406 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-06/0.009506, allocations: 4 kB / 0.5284 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.009508, allocations: 3.938 kB / 0.5284 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.00951, allocations: 1.812 kB / 0.5284 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.009672, allocations: 171.5 kB / 0.5286 GB, free: 8.211 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.009683, allocations: 11.89 kB / 0.5286 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.009699, allocations: 11.92 kB / 0.5286 GB, free: 8.188 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.009717, allocations: 7.922 kB / 0.5286 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.009759, allocations: 14.11 kB / 0.5286 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.009769, allocations: 4 kB / 0.5286 GB, free: 8.164 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.058e-05/0.00983, allocations: 148.8 kB / 0.5288 GB, free: 8.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00983, allocations: 0 / 0.5288 GB, free: 8.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.01002, allocations: 51.95 kB / 0.5288 GB, free: 7.969 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.0001724/0.01019, allocations: 110.6 kB / 0.5289 GB, free: 7.855 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.01055, allocations: 430.8 kB / 0.5293 GB, free: 7.375 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01055, allocations: 0 / 0.5293 GB, free: 7.375 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.003e-05/0.0106, allocations: 39.67 kB / 0.5294 GB, free: 7.332 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.01081, allocations: 32.48 kB / 0.5294 GB, free: 7.305 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.01119, allocations: 249 kB / 0.5297 GB, free: 7.031 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.175e-05/0.01123, allocations: 75.19 kB / 0.5297 GB, free: 6.938 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.364e-05/0.01127, allocations: 8.984 kB / 0.5297 GB, free: 6.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.01129, allocations: 16.48 kB / 0.5298 GB, free: 6.914 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0113, allocations: 0 / 0.5298 GB, free: 6.914 MB / 458.7 MB Notification: Performance of Templates: time 0.005419/0.01671, allocations: 3.3 MB / 0.533 GB, free: 3.809 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8504579379223287]