Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.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.0008255/0.0008255, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.001982, 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.0009663/0.0009663, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002294, 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.9562/0.9562, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08879/1.045, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.8579/0.8579, allocations: 155.4 MB / 399.5 MB, free: 15.79 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.3139/1.172, allocations: 49.13 MB / 448.6 MB, free: 5.887 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.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 450 MB, free: 4.516 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.499e-05, allocations: 5.812 kB / 450 MB, free: 4.512 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001239/0.001254, allocations: 0.8026 MB / 450.8 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.001965, allocations: 0.8851 MB / 451.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.001999, allocations: 1.969 kB / 451.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.002022, allocations: 7.875 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.002065, allocations: 14.11 kB / 451.7 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.053e-05/0.002136, allocations: 27.91 kB / 451.8 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.002217, allocations: 72.38 kB / 451.8 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.002299, allocations: 24.95 kB / 451.9 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.002393, allocations: 45.41 kB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.002452, allocations: 39.11 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.002474, allocations: 9.281 kB / 451.9 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.002485, allocations: 4 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.002504, allocations: 11.06 kB / 452 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.002524, allocations: 15.41 kB / 452 MB, free: 2.613 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.615e-05/0.002611, allocations: 43.78 kB / 452 MB, free: 2.574 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.002621, allocations: 0.5625 kB / 452 MB, free: 2.574 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.002622, allocations: 6.484 kB / 452 MB, free: 2.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.002631, allocations: 3.938 kB / 452 MB, free: 2.566 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003495/0.00298, allocations: 286.4 kB / 452.3 MB, free: 2.262 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.003007, allocations: 8.031 kB / 452.3 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.00304, allocations: 8.922 kB / 452.3 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.003119, allocations: 117.7 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.003135, allocations: 5.906 kB / 452.4 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.003146, allocations: 5.312 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.003255, allocations: 74.86 kB / 452.5 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003262, allocations: 6.172 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.00327, allocations: 4.375 kB / 452.5 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.003275, allocations: 384 / 452.5 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.419e-05/0.003309, allocations: 15.94 kB / 452.5 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.003544, allocations: 184.8 kB / 452.7 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.003617, allocations: 50.75 kB / 452.8 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.00364, allocations: 12.95 kB / 452.8 MB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.003651, allocations: 7.938 kB / 452.8 MB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.003668, allocations: 34.56 kB / 452.8 MB, free: 1.676 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 6.82e-07/0.003669, allocations: 0 / 452.8 MB, free: 1.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001155/0.003784, allocations: 58.78 kB / 452.9 MB, free: 1.613 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.003806, allocations: 59.33 kB / 452.9 MB, free: 1.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.003866, allocations: 122.7 kB / 453.1 MB, free: 1.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.003875, allocations: 26.2 kB / 453.1 MB, free: 1.379 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.003919, allocations: 101.7 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.003937, allocations: 9.625 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.003963, allocations: 21.7 kB / 453.2 MB, free: 1.242 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.00403, allocations: 318.8 kB / 453.5 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.004045, allocations: 4 kB / 453.5 MB, free: 0.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.00406, allocations: 8.859 kB / 453.5 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.004095, allocations: 26.06 kB / 453.6 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.004097, allocations: 0 / 453.6 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.066e-05/0.004157, allocations: 58.62 kB / 453.6 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.004172, allocations: 15.92 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.004175, allocations: 0 / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.004182, allocations: 0.5312 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.004254, allocations: 17.3 kB / 453.7 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.004256, allocations: 0 / 453.7 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.004281, allocations: 7.953 kB / 453.7 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.004286, allocations: 0 / 453.7 MB, free: 0.7812 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.009e-05/0.004336, allocations: 118.5 kB / 453.8 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.004351, allocations: 5.219 kB / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.004371, allocations: 16.38 kB / 453.8 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.004372, allocations: 0 / 453.8 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.004374, allocations: 0.8438 kB / 453.8 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.004376, allocations: 0 / 453.8 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.004468, allocations: 90.95 kB / 453.9 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004469, allocations: 0 / 453.9 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.004508, allocations: 15.98 kB / 453.9 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.004516, allocations: 10.22 kB / 453.9 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004517, allocations: 3.938 kB / 453.9 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.004524, allocations: 13.75 kB / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004524, allocations: 0 / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004525, allocations: 0 / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.004608, allocations: 143.5 kB / 454.1 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.004616, allocations: 1.344 kB / 454.1 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.004657, allocations: 11.98 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.004695, allocations: 11.92 kB / 454.1 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.004698, allocations: 4.125 kB / 454.1 MB, free: 316 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.703e-05/0.004715, allocations: 23.7 kB / 454.1 MB, free: 292 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004715, allocations: 0 / 454.1 MB, free: 292 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001182/0.004833, allocations: 12 kB / 454.1 MB, free: 280 kB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.225e-05/0.004895, allocations: 81.39 kB / 454.2 MB, free: 192 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.725e-05/0.004963, allocations: 29.38 kB / 454.3 MB, free: 160 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.004967, allocations: 5.094 kB / 454.3 MB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.005007, allocations: 32.78 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.005147, allocations: 42.31 kB / 454.3 MB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.005521, allocations: 175.9 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.961e-05/0.005551, allocations: 59.34 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.005582, allocations: 6.469 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.005643, allocations: 60.17 kB / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of SimCode: time 4.7e-07/0.005644, allocations: 0 / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of Templates: time 0.002443/0.008086, allocations: 1.308 MB / 455.9 MB, free: 14.51 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5898901242762804]