Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0008512/0.0008512, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002204, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006825/0.0006825, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001831, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.976/0.976, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.096/1.072, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8017/0.8017, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3291/1.131, allocations: 49.13 MB / 448.6 MB, free: 5.922 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 450 MB, free: 4.555 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.171e-05, allocations: 4.844 kB / 450 MB, free: 4.551 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002354/0.002386, allocations: 0.8293 MB / 450.8 MB, free: 3.758 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.004011, allocations: 1.202 MB / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.004062, allocations: 0.8438 kB / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.004093, allocations: 3.938 kB / 452 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.004158, allocations: 17.12 kB / 452.1 MB, free: 2.527 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.004576, allocations: 134 kB / 452.2 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.004788, allocations: 130.3 kB / 452.3 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.004876, allocations: 17.06 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.005037, allocations: 71.45 kB / 452.4 MB, free: 2.207 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.005141, allocations: 46.44 kB / 452.5 MB, free: 2.164 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.005169, allocations: 10.78 kB / 452.5 MB, free: 2.156 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.005258, allocations: 28.86 kB / 452.5 MB, free: 2.129 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.005287, allocations: 10.95 kB / 452.5 MB, free: 2.121 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.005337, allocations: 21.42 kB / 452.5 MB, free: 2.102 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.005534, allocations: 87.67 kB / 452.6 MB, free: 2.016 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.005548, allocations: 0 / 452.6 MB, free: 2.016 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.00555, allocations: 0 / 452.6 MB, free: 2.016 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.005564, allocations: 3.938 kB / 452.6 MB, free: 2.012 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005579/0.006122, allocations: 324.9 kB / 452.9 MB, free: 1.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.006161, allocations: 13.31 kB / 452.9 MB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.006209, allocations: 8.922 kB / 453 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.006314, allocations: 115.2 kB / 453.1 MB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.006332, allocations: 9.5 kB / 453.1 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.006354, allocations: 8.359 kB / 453.1 MB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.006524, allocations: 76.45 kB / 453.2 MB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006533, allocations: 1.438 kB / 453.2 MB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.006542, allocations: 384 / 453.2 MB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.006551, allocations: 4.375 kB / 453.2 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/0.006581, allocations: 8.562 kB / 453.2 MB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.006911, allocations: 179.4 kB / 453.3 MB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.006968, allocations: 26.5 kB / 453.4 MB, free: 1.176 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.006989, allocations: 8.859 kB / 453.4 MB, free: 1.164 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.007009, allocations: 0 / 453.4 MB, free: 1.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.007128, allocations: 71.48 kB / 453.5 MB, free: 1.082 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.007129, allocations: 4 kB / 453.5 MB, free: 1.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001659/0.007295, allocations: 69.55 kB / 453.5 MB, free: 1.004 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.007354, allocations: 51.41 kB / 453.6 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.007445, allocations: 123.6 kB / 453.7 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.007466, allocations: 25.7 kB / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.007517, allocations: 93.84 kB / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.007543, allocations: 21.69 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.007601, allocations: 29.7 kB / 453.9 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.007703, allocations: 318.8 kB / 454.2 MB, free: 316 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.007771, allocations: 49.69 kB / 454.2 MB, free: 260 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.007842, allocations: 80.19 kB / 454.3 MB, free: 164 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.19e-05/0.007934, allocations: 85.8 kB / 454.4 MB, free: 64 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.007938, allocations: 0 / 454.4 MB, free: 64 kB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001948/0.008133, allocations: 157.8 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/0.008177, allocations: 38.67 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.008185, allocations: 4.734 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.008199, allocations: 5.219 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.008298, allocations: 15.81 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.008301, allocations: 0 / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.008406, allocations: 29.09 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.008424, allocations: 8 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 7.667e-05/0.008501, allocations: 122.8 kB / 454.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.008517, allocations: 7.984 kB / 454.8 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.008548, allocations: 13.25 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00855, allocations: 0 / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008551, allocations: 320 / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.008556, allocations: 2.234 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.783e-05/0.008643, allocations: 81.88 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008645, allocations: 0 / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.008706, allocations: 17.42 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.008716, allocations: 7.953 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.008718, allocations: 0 / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.008724, allocations: 0 / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.008728, allocations: 12.77 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008729, allocations: 0 / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.008832, allocations: 77.84 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.008848, allocations: 7.984 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.008882, allocations: 4.875 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.008919, allocations: 13.75 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.008924, allocations: 0.9062 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.772e-05/0.008952, allocations: 27.95 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008952, allocations: 0 / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.00913, allocations: 20.62 kB / 455 MB, free: 15.34 MB / 442.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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001671/0.009297, allocations: 88.97 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.009487, allocations: 143.1 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.009496, allocations: 0 / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.009543, allocations: 25.42 kB / 455.3 MB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.009721, allocations: 132.2 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.01028, allocations: 153.4 kB / 455.6 MB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.01032, allocations: 68.92 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.01036, allocations: 1.562 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01046, allocations: 72.77 kB / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01046, allocations: 0 / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of Templates: time 0.004339/0.0148, allocations: 1.771 MB / 457.5 MB, free: 12.94 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.507770573720336]