Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.001136/0.001136, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001887/0.003023, 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.001246/0.001246, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001884/0.00313, 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 1.132/1.132, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.102/1.234, 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/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7866/0.7866, allocations: 154.6 MB / 398.8 MB, free: 368 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2795/1.066, allocations: 49.05 MB / 447.8 MB, free: 6.566 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/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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0.5469 kB / 449.2 MB, free: 5.195 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.267e-05, allocations: 4.422 kB / 449.2 MB, free: 5.191 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001592/0.001615, allocations: 0.7462 MB / 450 MB, free: 4.484 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.002322, allocations: 0.9206 MB / 450.9 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.002346, allocations: 4 kB / 450.9 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.002367, allocations: 3.938 kB / 450.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.183e-05/0.002399, allocations: 3.156 kB / 450.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.15e-05/0.002481, allocations: 24.55 kB / 450.9 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.00255, allocations: 43.84 kB / 451 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.002621, allocations: 9.625 kB / 451 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.002705, allocations: 33.81 kB / 451 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.002747, allocations: 13.84 kB / 451 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.002768, allocations: 5.5 kB / 451 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.002776, allocations: 4 kB / 451 MB, free: 3.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.002792, allocations: 6.734 kB / 451 MB, free: 3.426 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.00281, allocations: 9.094 kB / 451 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.002882, allocations: 23.7 kB / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.002892, allocations: 0 / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.002893, allocations: 1.281 kB / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.002902, allocations: 0 / 451.1 MB, free: 3.398 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003135/0.003216, allocations: 262.6 kB / 451.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.003244, allocations: 8.562 kB / 451.3 MB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.003269, allocations: 7.594 kB / 451.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.481e-05/0.003344, allocations: 117.7 kB / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.003352, allocations: 384 / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.003362, allocations: 4.375 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.003465, allocations: 63.53 kB / 451.5 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.003471, allocations: 2.031 kB / 451.5 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.003477, allocations: 384 / 451.5 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.00348, allocations: 384 / 451.5 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.003499, allocations: 7.938 kB / 451.5 MB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.003689, allocations: 160.2 kB / 451.7 MB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.925e-05/0.003738, allocations: 23.77 kB / 451.7 MB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.003756, allocations: 14.17 kB / 451.7 MB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.00377, allocations: 0 / 451.7 MB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.00379, allocations: 34.56 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 5.31e-07/0.00379, allocations: 0.5938 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 9.824e-05/0.003888, allocations: 47.98 kB / 451.8 MB, free: 2.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.003915, allocations: 56.41 kB / 451.9 MB, free: 2.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.003967, allocations: 114.7 kB / 452 MB, free: 2.379 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.003975, allocations: 25.7 kB / 452 MB, free: 2.348 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.004006, allocations: 94.66 kB / 452.1 MB, free: 2.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.004022, allocations: 11.91 kB / 452.1 MB, free: 2.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.004046, allocations: 17.7 kB / 452.1 MB, free: 2.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.004117, allocations: 315.6 kB / 452.4 MB, free: 1.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.004129, allocations: 4 kB / 452.4 MB, free: 1.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.004137, allocations: 0 / 452.4 MB, free: 1.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.004163, allocations: 16.84 kB / 452.4 MB, free: 1.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004164, allocations: 0.9062 kB / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.152e-05/0.004206, allocations: 41.62 kB / 452.5 MB, free: 1.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.004217, allocations: 8.656 kB / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.004221, allocations: 0.875 kB / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.004229, allocations: 4.906 kB / 452.5 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.004296, allocations: 11.98 kB / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-06/0.004298, allocations: 0.625 kB / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.00432, allocations: 9.469 kB / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.004326, allocations: 0 / 452.5 MB, free: 1.801 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 (3): * Single equations (assignments): 3 * 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 4.385e-05/0.004369, allocations: 114.5 kB / 452.6 MB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.00438, allocations: 0.625 kB / 452.6 MB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.004404, allocations: 8.766 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.004406, allocations: 4.562 kB / 452.7 MB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.004408, allocations: 4.625 kB / 452.7 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.00441, allocations: 0 / 452.7 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.546e-05/0.004486, allocations: 74.48 kB / 452.7 MB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004487, allocations: 0 / 452.7 MB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.004514, allocations: 12.8 kB / 452.7 MB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.004521, allocations: 11.92 kB / 452.8 MB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.004523, allocations: 7.938 kB / 452.8 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.004528, allocations: 0 / 452.8 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004529, allocations: 0 / 452.8 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.004531, allocations: 3.938 kB / 452.8 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.554e-05/0.004606, allocations: 132.3 kB / 452.9 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.004615, allocations: 0 / 452.9 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.004651, allocations: 8.984 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.00468, allocations: 7.984 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.004684, allocations: 8.922 kB / 452.9 MB, free: 1.371 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.176e-05/0.004695, allocations: 9.609 kB / 452.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004695, allocations: 0 / 452.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001058/0.004801, allocations: 9.188 kB / 452.9 MB, free: 1.352 MB / 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 (3): * Single equations (assignments): 3 * 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.122e-05/0.004862, allocations: 73.05 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.016e-05/0.004923, allocations: 26.78 kB / 453 MB, free: 1.246 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.004927, allocations: 1.062 kB / 453 MB, free: 1.246 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/0.00495, allocations: 13.41 kB / 453 MB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.005106, allocations: 64.08 kB / 453.1 MB, free: 1.156 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.005453, allocations: 143.1 kB / 453.3 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.005492, allocations: 55.36 kB / 453.3 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.836e-05/0.00551, allocations: 1.938 kB / 453.3 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.005563, allocations: 63.36 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.005564, allocations: 0 / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of Templates: time 0.001911/0.007475, allocations: 0.7468 MB / 454.1 MB, free: 160 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7407723274081945]