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.002314/0.002314, allocations: 93.47 kB / 19.44 MB, free: 336 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.002018/0.002018, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.358/1.358, allocations: 154.8 MB / 414.3 MB, free: 456 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 178] 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.084e-06/2.084e-06, allocations: 0 / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.194e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002099/0.002131, allocations: 0.8106 MB / 0.5207 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004079, allocations: 1.312 MB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.004134, allocations: 4.625 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.004173, allocations: 11.81 kB / 0.522 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.004283, allocations: 29.59 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008192/0.005102, allocations: 312.9 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.005503, allocations: 291.5 kB / 0.5226 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005617, allocations: 30.89 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.005845, allocations: 159.8 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.006029, allocations: 91.78 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.181e-05/0.006091, allocations: 28.56 kB / 0.5229 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.006192, allocations: 39.92 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.006237, allocations: 24.66 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.006371, allocations: 87.86 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.006793, allocations: 312.6 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.006798, allocations: 4 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006799, allocations: 0 / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.006804, allocations: 0 / 0.5233 GB, free: 14.78 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.0007916/0.007596, allocations: 0.5451 MB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.007635, allocations: 16.02 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.007734, allocations: 24.89 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.007887, allocations: 141 kB / 0.524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.007917, allocations: 12.38 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.007969, allocations: 24.36 kB / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.008166, allocations: 90.78 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.008175, allocations: 0 / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.008186, allocations: 4 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.008191, allocations: 0 / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.00831, allocations: 47.97 kB / 0.5242 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007584/0.009069, allocations: 455.3 kB / 0.5246 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.009332, allocations: 79.59 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.009399, allocations: 28.31 kB / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.009416, allocations: 4.969 kB / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.009627, allocations: 124 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.009629, allocations: 1.469 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0004308/0.01006, allocations: 181.6 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.01013, allocations: 59.39 kB / 0.5251 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.01034, allocations: 224.1 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/0.01042, allocations: 38.39 kB / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.01055, allocations: 159.2 kB / 0.5255 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.01059, allocations: 32.67 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.01075, allocations: 87.33 kB / 0.5256 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003065/0.01106, allocations: 0.5056 MB / 0.5261 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.01144, allocations: 205 kB / 0.5263 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.01182, allocations: 286.3 kB / 0.5265 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.01224, allocations: 286.6 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01224, allocations: 1.344 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008829/0.01312, allocations: 0.5368 MB / 0.5273 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.01323, allocations: 109 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01323, allocations: 0 / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01325, allocations: 4 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.01332, allocations: 11.94 kB / 0.5275 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.01333, allocations: 4 kB / 0.5275 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.01372, allocations: 66.58 kB / 0.5275 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.01377, allocations: 23.98 kB / 0.5276 GB, free: 10.05 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.0001794/0.01395, allocations: 181.8 kB / 0.5277 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.01399, allocations: 23.94 kB / 0.5278 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.01403, allocations: 16.66 kB / 0.5278 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.01403, allocations: 4 kB / 0.5278 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01404, allocations: 0.9375 kB / 0.5278 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01404, allocations: 0 / 0.5278 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.01454, allocations: 172.5 kB / 0.5279 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01454, allocations: 0.9375 kB / 0.5279 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.01459, allocations: 8 kB / 0.5279 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01459, allocations: 0.6562 kB / 0.5279 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.01461, allocations: 7.984 kB / 0.528 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.01461, allocations: 8.906 kB / 0.528 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01461, allocations: 0 / 0.528 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.0149, allocations: 182.9 kB / 0.5281 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01492, allocations: 11.91 kB / 0.5281 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01494, allocations: 0 / 0.5281 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.658e-05/0.01498, allocations: 11.94 kB / 0.5282 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.01502, allocations: 11.97 kB / 0.5282 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.01504, allocations: 8 kB / 0.5282 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001522/0.01519, allocations: 150 kB / 0.5283 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01519, allocations: 3.125 kB / 0.5283 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003161/0.01551, allocations: 55.92 kB / 0.5284 GB, free: 9.156 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.0001835/0.01569, allocations: 107.2 kB / 0.5285 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000725/0.01642, allocations: 0.5009 MB / 0.529 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01642, allocations: 1.688 kB / 0.529 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01653, allocations: 59.59 kB / 0.529 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.01682, allocations: 33.41 kB / 0.5291 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.01736, allocations: 252.9 kB / 0.5293 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.841e-05/0.01746, allocations: 94.28 kB / 0.5294 GB, free: 8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.404e-05/0.0175, allocations: 17.61 kB / 0.5294 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.01754, allocations: 17.16 kB / 0.5294 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.01754, allocations: 0.5312 kB / 0.5294 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of Templates: time 0.00774/0.02528, allocations: 3.028 MB / 0.5324 GB, free: 5.113 MB / 0.4948 GB " [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: 6.170251118019223]