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.000678/0.000678, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008436/0.001522, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007058/0.0007058, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008984/0.001604, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1/1, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09199/1.092, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8217/0.8217, allocations: 155.3 MB / 399.3 MB, free: 15.91 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.3025/1.124, allocations: 49.12 MB / 448.4 MB, free: 6.016 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 1.583e-06/1.583e-06, allocations: 0 / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.44e-05, allocations: 3.078 kB / 449.8 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001887/0.001912, allocations: 0.8146 MB / 450.6 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003034, allocations: 1.209 MB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.003078, allocations: 1.969 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.003101, allocations: 4.922 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.003153, allocations: 8.203 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.003438, allocations: 137.8 kB / 451.9 MB, free: 2.523 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.003627, allocations: 129.6 kB / 452.1 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.003712, allocations: 9.234 kB / 452.1 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.003828, allocations: 86.78 kB / 452.1 MB, free: 2.324 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.003902, allocations: 36.58 kB / 452.2 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.003923, allocations: 8 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.00399, allocations: 29.89 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.00401, allocations: 11.94 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.004048, allocations: 23.94 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.00418, allocations: 87.72 kB / 452.3 MB, free: 2.133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.004195, allocations: 3.938 kB / 452.3 MB, free: 2.129 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004196, allocations: 0.5 kB / 452.3 MB, free: 2.129 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.004211, allocations: 0.5 kB / 452.3 MB, free: 2.129 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.0004871/0.004698, allocations: 329.4 kB / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.004728, allocations: 8.031 kB / 452.7 MB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.004764, allocations: 12.94 kB / 452.7 MB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.004843, allocations: 116.3 kB / 452.8 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004856, allocations: 8.359 kB / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.004872, allocations: 10.28 kB / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.004988, allocations: 72.14 kB / 452.9 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004996, allocations: 192 / 452.9 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.005003, allocations: 384 / 452.9 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.00501, allocations: 4.938 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.005036, allocations: 7.938 kB / 452.9 MB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.005277, allocations: 180.8 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.935e-05/0.005317, allocations: 28.17 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.005334, allocations: 8.859 kB / 453.1 MB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.005353, allocations: 0 / 453.1 MB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.129e-05/0.005445, allocations: 67.42 kB / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.005447, allocations: 1.969 kB / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001267/0.005573, allocations: 69.55 kB / 453.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.005606, allocations: 52.06 kB / 453.3 MB, free: 1.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.005682, allocations: 126.7 kB / 453.4 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.005698, allocations: 30.55 kB / 453.5 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.005738, allocations: 93.84 kB / 453.5 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.005754, allocations: 12.48 kB / 453.6 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.005798, allocations: 37.67 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.005878, allocations: 320.3 kB / 453.9 MB, free: 432 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/0.005926, allocations: 49.69 kB / 454 MB, free: 376 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.355e-05/0.005979, allocations: 76.19 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.196e-05/0.006051, allocations: 90.52 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.006054, allocations: 0 / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001268/0.006181, allocations: 161.1 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.006229, allocations: 37.69 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.006234, allocations: 8.781 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.006244, allocations: 4 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.00632, allocations: 9 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.006324, allocations: 3.938 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.006402, allocations: 32.78 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.006415, allocations: 7.984 kB / 454.4 MB, free: 15.89 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 5.721e-05/0.006472, allocations: 115.1 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.006481, allocations: 8 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.006503, allocations: 9.031 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-06/0.006506, allocations: 3.984 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.006507, allocations: 0.5312 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.006511, allocations: 2.062 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.891e-05/0.00658, allocations: 81.88 kB / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006581, allocations: 0.625 kB / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.006617, allocations: 12.81 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.006625, allocations: 7.938 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.006626, allocations: 1.219 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.006632, allocations: 4 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006633, allocations: 3.938 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006634, allocations: 0.7188 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.284e-05/0.006707, allocations: 81.05 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.006716, allocations: 0.9062 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.006736, allocations: 4 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.006769, allocations: 16.92 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006772, allocations: 0 / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.875e-05/0.006791, allocations: 21.83 kB / 454.7 MB, free: 15.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006791, allocations: 0.625 kB / 454.7 MB, free: 15.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001122/0.006903, allocations: 20 kB / 454.8 MB, free: 15.47 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 9.207e-05/0.006995, allocations: 97.66 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.007135, allocations: 142.4 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.007141, allocations: 1.375 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.007168, allocations: 24.83 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.867e-05/0.007267, allocations: 21.05 kB / 455 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.007684, allocations: 163.5 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.007714, allocations: 68.11 kB / 455.3 MB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.484e-05/0.007739, allocations: 6.156 kB / 455.3 MB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.007814, allocations: 64.8 kB / 455.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007815, allocations: 0 / 455.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of Templates: time 0.003158/0.01097, allocations: 1.799 MB / 457.1 MB, free: 13.16 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.6499953120946884]