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.0009784/0.0009784, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001045/0.001045, allocations: 173 kB / 23.49 MB, free: 1.051 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8158/0.8158, allocations: 154.8 MB / 415.1 MB, free: 0.4922 MB / 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 3.085e-06/3.085e-06, allocations: 0 / 0.5206 GB, free: 1.172 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.006e-05/4.314e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.168 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001554/0.001598, allocations: 0.8242 MB / 0.5214 GB, free: 380 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.002885, allocations: 1.327 MB / 0.5227 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.002947, allocations: 5.281 kB / 0.5227 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.002982, allocations: 15.8 kB / 0.5227 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/0.003063, allocations: 19.8 kB / 0.5227 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.003691, allocations: 315.2 kB / 0.523 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.003953, allocations: 291.5 kB / 0.5233 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.004065, allocations: 33.59 kB / 0.5233 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.00423, allocations: 159.8 kB / 0.5235 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.004367, allocations: 85.86 kB / 0.5236 GB, free: 14.13 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.004403, allocations: 24 kB / 0.5236 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.004476, allocations: 47.84 kB / 0.5236 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.004507, allocations: 27.86 kB / 0.5237 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.00459, allocations: 87.86 kB / 0.5237 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.004831, allocations: 215.5 kB / 0.5239 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004835, allocations: 1.469 kB / 0.524 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.004835, allocations: 0 / 0.524 GB, free: 13.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.00484, allocations: 0 / 0.524 GB, free: 13.73 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.0005703/0.00541, allocations: 0.5518 MB / 0.5245 GB, free: 13.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.005448, allocations: 9 kB / 0.5245 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/0.005528, allocations: 28.89 kB / 0.5245 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005638, allocations: 138.8 kB / 0.5247 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.005669, allocations: 16.38 kB / 0.5247 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.005702, allocations: 20.38 kB / 0.5247 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.005851, allocations: 87.3 kB / 0.5248 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.005858, allocations: 0 / 0.5248 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.005871, allocations: 8.484 kB / 0.5248 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.005879, allocations: 0 / 0.5248 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.005937, allocations: 27.38 kB / 0.5248 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.006475, allocations: 440.5 kB / 0.5252 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.006657, allocations: 63.11 kB / 0.5253 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.006692, allocations: 23.67 kB / 0.5253 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.006699, allocations: 0.5 kB / 0.5253 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.006833, allocations: 110.9 kB / 0.5254 GB, free: 12.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.006834, allocations: 0 / 0.5254 GB, free: 12.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002631/0.007097, allocations: 156.3 kB / 0.5256 GB, free: 11.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.007136, allocations: 59.41 kB / 0.5256 GB, free: 11.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.007249, allocations: 214.1 kB / 0.5258 GB, free: 11.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.007276, allocations: 29.7 kB / 0.5259 GB, free: 11.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.007347, allocations: 159.2 kB / 0.526 GB, free: 11.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.007371, allocations: 35.78 kB / 0.526 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.00746, allocations: 79.33 kB / 0.5261 GB, free: 11.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.007588, allocations: 0.4937 MB / 0.5266 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.007773, allocations: 169 kB / 0.5268 GB, free: 10.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.007954, allocations: 246 kB / 0.527 GB, free: 10.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.008148, allocations: 247.7 kB / 0.5272 GB, free: 10.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.00815, allocations: 0 / 0.5272 GB, free: 10.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004624/0.008613, allocations: 485.4 kB / 0.5277 GB, free: 9.547 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.008674, allocations: 101 kB / 0.5278 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.008682, allocations: 2.812 kB / 0.5278 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.008699, allocations: 8 kB / 0.5278 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.008752, allocations: 11.98 kB / 0.5278 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.008762, allocations: 4 kB / 0.5278 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.008973, allocations: 70.58 kB / 0.5279 GB, free: 9.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.009001, allocations: 19.98 kB / 0.5279 GB, free: 9.32 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.0001173/0.009118, allocations: 172.5 kB / 0.5281 GB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.009141, allocations: 15.95 kB / 0.5281 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.009176, allocations: 20.7 kB / 0.5281 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.00918, allocations: 3.984 kB / 0.5281 GB, free: 9.102 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.009185, allocations: 0.8438 kB / 0.5281 GB, free: 9.102 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.009189, allocations: 4 kB / 0.5281 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.009308, allocations: 157.5 kB / 0.5283 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.00931, allocations: 3.984 kB / 0.5283 GB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.009337, allocations: 15.88 kB / 0.5283 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.00934, allocations: 0.875 kB / 0.5283 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.009351, allocations: 4 kB / 0.5283 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.009355, allocations: 9.297 kB / 0.5283 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.009357, allocations: 0 / 0.5283 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.00952, allocations: 164.3 kB / 0.5285 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.009534, allocations: 11.94 kB / 0.5285 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.009548, allocations: 1.469 kB / 0.5285 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.009569, allocations: 11.94 kB / 0.5285 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.009615, allocations: 7.984 kB / 0.5285 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.009624, allocations: 4 kB / 0.5285 GB, free: 8.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.959e-05/0.009683, allocations: 149.3 kB / 0.5286 GB, free: 8.516 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009683, allocations: 0.6875 kB / 0.5286 GB, free: 8.516 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.00988, allocations: 59.89 kB / 0.5287 GB, free: 8.457 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.0001347/0.01001, allocations: 108.5 kB / 0.5288 GB, free: 8.348 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.0104, allocations: 429.3 kB / 0.5292 GB, free: 7.871 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.0104, allocations: 0 / 0.5292 GB, free: 7.871 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.01046, allocations: 43.61 kB / 0.5292 GB, free: 7.824 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01068, allocations: 33.22 kB / 0.5293 GB, free: 7.797 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.01105, allocations: 247 kB / 0.5295 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.01109, allocations: 63.34 kB / 0.5296 GB, free: 7.441 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.01112, allocations: 8.984 kB / 0.5296 GB, free: 7.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.01115, allocations: 20.48 kB / 0.5296 GB, free: 7.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01115, allocations: 0 / 0.5296 GB, free: 7.41 MB / 458.7 MB Notification: Performance of Templates: time 0.005567/0.01672, allocations: 3.029 MB / 0.5326 GB, free: 4.559 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.9294216129928827]