Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0009786/0.0009786, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002274, 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.001024/0.001024, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002271, 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 0.9639/0.9639, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1188/1.083, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7954/0.7954, allocations: 154.6 MB / 398.5 MB, free: 0.5234 MB / 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.2972/1.093, allocations: 49.04 MB / 447.6 MB, free: 6.676 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 448.9 MB, free: 5.332 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.218e-05, allocations: 3.875 kB / 448.9 MB, free: 5.328 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001511/0.001533, allocations: 0.9054 MB / 449.8 MB, free: 4.469 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.0024, allocations: 0.9354 MB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.002459, allocations: 0.5469 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.002489, allocations: 16.64 kB / 450.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.002528, allocations: 10.23 kB / 450.8 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.002631, allocations: 64.59 kB / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.002779, allocations: 133.9 kB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.002905, allocations: 55.77 kB / 451.1 MB, free: 3.266 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.002998, allocations: 81.61 kB / 451.1 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.00305, allocations: 41.72 kB / 451.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.003075, allocations: 16.91 kB / 451.2 MB, free: 3.137 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.003089, allocations: 12 kB / 451.2 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.003114, allocations: 23.88 kB / 451.2 MB, free: 3.102 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.003143, allocations: 29 kB / 451.3 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.003244, allocations: 83.62 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.003256, allocations: 3.984 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.003256, allocations: 0.8125 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.003268, allocations: 0 / 451.3 MB, free: 2.988 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0003541/0.003623, allocations: 356.1 kB / 451.7 MB, free: 2.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.003649, allocations: 12.03 kB / 451.7 MB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.00368, allocations: 21.67 kB / 451.7 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.003813, allocations: 155.5 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.003823, allocations: 8.375 kB / 451.9 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.003838, allocations: 16.38 kB / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.003985, allocations: 196 kB / 452.1 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.003992, allocations: 0.75 kB / 452.1 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004002, allocations: 8.375 kB / 452.1 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.004006, allocations: 1 kB / 452.1 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.004052, allocations: 45.42 kB / 452.1 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.004374, allocations: 299.8 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.004452, allocations: 48.89 kB / 452.5 MB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.00459, allocations: 16.86 kB / 452.5 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.004608, allocations: 1.125 kB / 452.5 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.004626, allocations: 38.56 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.004627, allocations: 1.156 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001084/0.004736, allocations: 69.8 kB / 452.6 MB, free: 1.613 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.004758, allocations: 59.33 kB / 452.7 MB, free: 1.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.00482, allocations: 135.3 kB / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.004831, allocations: 29.7 kB / 452.8 MB, free: 1.363 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.004874, allocations: 125 kB / 452.9 MB, free: 1.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.004889, allocations: 31.69 kB / 453 MB, free: 1.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.004919, allocations: 29.7 kB / 453 MB, free: 1.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.004986, allocations: 324.3 kB / 453.3 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.005002, allocations: 8 kB / 453.3 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.005022, allocations: 15.92 kB / 453.3 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.005065, allocations: 39.83 kB / 453.4 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005066, allocations: 2.094 kB / 453.4 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.428e-05/0.005131, allocations: 73.66 kB / 453.5 MB, free: 0.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.005141, allocations: 4 kB / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.005144, allocations: 0 / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.00515, allocations: 4 kB / 453.5 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.005229, allocations: 35.86 kB / 453.5 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-06/0.005231, allocations: 0.875 kB / 453.5 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.005261, allocations: 15.89 kB / 453.5 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.005266, allocations: 4.906 kB / 453.5 MB, free: 0.6445 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 (13): * Single equations (assignments): 13 * 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.438e-05/0.00531, allocations: 110.5 kB / 453.6 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.005327, allocations: 11.98 kB / 453.6 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/0.005409, allocations: 83 kB / 453.7 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.00541, allocations: 0 / 453.7 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.005413, allocations: 6.109 kB / 453.7 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005415, allocations: 0.625 kB / 453.7 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.005597, allocations: 265.8 kB / 454 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.005598, allocations: 4.625 kB / 454 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.00564, allocations: 19.98 kB / 454 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.005649, allocations: 16.33 kB / 454 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.005651, allocations: 0.75 kB / 454 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.005655, allocations: 4 kB / 454 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005656, allocations: 1.859 kB / 454 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.005658, allocations: 3.984 kB / 454 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.501e-05/0.005753, allocations: 186 kB / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.005763, allocations: 7.938 kB / 454.2 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.00581, allocations: 8.688 kB / 454.2 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.005827, allocations: 7.984 kB / 454.2 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.005833, allocations: 8.891 kB / 454.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.2e-05/0.005855, allocations: 34.34 kB / 454.3 MB, free: 15.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005855, allocations: 0.625 kB / 454.3 MB, free: 15.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001214/0.005976, allocations: 23.89 kB / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 5.174e-05/0.006028, allocations: 81.73 kB / 454.4 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.006092, allocations: 49.98 kB / 454.4 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.0061, allocations: 4 kB / 454.4 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.006125, allocations: 29.84 kB / 454.5 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.006244, allocations: 18.52 kB / 454.5 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.00661, allocations: 275.3 kB / 454.8 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.006643, allocations: 71.95 kB / 454.8 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.006668, allocations: 8.359 kB / 454.8 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.006722, allocations: 71.36 kB / 454.9 MB, free: 15.13 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006722, allocations: 0.75 kB / 454.9 MB, free: 15.13 MB / 442.7 MB Notification: Performance of Templates: time 0.002626/0.009348, allocations: 1.043 MB / 456 MB, free: 14.16 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4989315066486597]