Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Boundaries.Tests.TestBoundaries.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.0007572/0.0007572, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009758/0.001733, 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.0007117/0.0007117, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008923/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 0.8918/0.8918, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/0.9944, 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/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.0856/0.0856, allocations: 17.37 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01201/0.09762, allocations: 6.931 MB / 268.3 MB, free: 6.52 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 269.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.035e-05, allocations: 2.312 kB / 269.5 MB, free: 5.242 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Boundaries.Tests.TestBoundaries): time 0.1574/0.1574, allocations: 13.6 MB / 283.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1679, allocations: 6.251 MB / 289.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.1698, allocations: 43.69 kB / 289.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.1725, allocations: 1.323 MB / 290.8 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.1744, allocations: 1.008 MB / 291.8 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.1753, allocations: 439.4 kB / 292.2 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.1779, allocations: 2.774 MB / 295 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.179, allocations: 1.045 MB / 296 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.1807, allocations: 1.928 MB / 297.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008714/0.1816, allocations: 0.8669 MB / 298.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.1819, allocations: 285.2 kB / 299.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1834, allocations: 0.7683 MB / 299.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.1837, allocations: 0.7084 MB / 300.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007386/0.1845, allocations: 0.9196 MB / 301.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.187, allocations: 3.339 MB / 304.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.916e-05/0.187, allocations: 0 / 304.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.187, allocations: 3.938 kB / 304.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.187, allocations: 0 / 304.8 MB, free: 15.26 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.003/0.19, allocations: 4.43 MB / 309.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1901, allocations: 12.03 kB / 309.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/0.1907, allocations: 0.7592 MB / 310 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.1918, allocations: 1.058 MB / 311.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.1919, allocations: 246.8 kB / 311.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.1921, allocations: 320.2 kB / 311.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.1943, allocations: 2.989 MB / 314.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.348e-05/0.1944, allocations: 19.81 kB / 314.6 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.1945, allocations: 140 kB / 314.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/0.1947, allocations: 353.8 kB / 315.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.1959, allocations: 1.268 MB / 316.4 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00916/0.205, allocations: 16.75 MB / 333.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.2054, allocations: 476.6 kB / 333.6 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2055, allocations: 88.77 kB / 333.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.2057, allocations: 77.58 kB / 333.8 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2058, allocations: 46.5 kB / 333.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.2058, allocations: 0 / 333.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007373/0.2065, allocations: 331.2 kB / 334.1 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.2066, allocations: 291 kB / 334.4 MB, free: 256 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.2074, allocations: 1.232 MB / 335.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.2075, allocations: 37.7 kB / 335.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006036/0.2081, allocations: 1.495 MB / 337.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.2081, allocations: 123 kB / 337.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.2083, allocations: 150.5 kB / 337.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.2084, allocations: 337.9 kB / 337.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.2085, allocations: 60.78 kB / 337.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.2087, allocations: 461.1 kB / 338.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.2092, allocations: 0.6215 MB / 338.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2092, allocations: 4 kB / 338.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005765/0.2098, allocations: 0.5486 MB / 339.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2098, allocations: 12 kB / 339.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.2098, allocations: 12.84 kB / 339.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.21, allocations: 61.62 kB / 339.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.2104, allocations: 221.1 kB / 339.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.2114, allocations: 2.344 MB / 342.1 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.2117, allocations: 95.39 kB / 342.2 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.2118, allocations: 51.98 kB / 342.3 MB, free: 7.809 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002938/0.2121, allocations: 176.4 kB / 342.4 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.2122, allocations: 95.83 kB / 342.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.2128, allocations: 453.5 kB / 343 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2128, allocations: 8 kB / 343 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2128, allocations: 0 / 343 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2128, allocations: 7.984 kB / 343 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.2139, allocations: 1.001 MB / 344 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.2139, allocations: 0 / 344 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.2141, allocations: 83.89 kB / 344.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2142, allocations: 146.8 kB / 344.2 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.264e-05/0.2143, allocations: 41.75 kB / 344.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.2143, allocations: 11.98 kB / 344.3 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009448/0.2153, allocations: 2.325 MB / 346.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2153, allocations: 0 / 346.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.2159, allocations: 1.232 MB / 347.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.2159, allocations: 12.19 kB / 347.8 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.2162, allocations: 19.98 kB / 347.9 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.2163, allocations: 31.89 kB / 347.9 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2163, allocations: 11.98 kB / 347.9 MB, free: 1.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004638/0.2168, allocations: 0.6679 MB / 348.6 MB, free: 1.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2168, allocations: 0 / 348.6 MB, free: 1.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001431/0.2182, allocations: 0.7542 MB / 349.3 MB, free: 0.4961 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (boundary_fore.rear.n_flow,terminalInflow.u,terminalOutflow.u,boundary_fore2.rear.n_flow,terminalInflow1.u,terminalOutflow1.u,solution.temperature) * 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 (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003721/0.2186, allocations: 202.8 kB / 349.5 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00057/0.2191, allocations: 0.503 MB / 350 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.662e-05/0.2192, allocations: 24.5 kB / 350 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.2194, allocations: 326 kB / 350.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.2206, allocations: 450.3 kB / 350.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.235, allocations: 4.891 MB / 355.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.2355, allocations: 0.5872 MB / 356.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.2359, allocations: 155.3 kB / 356.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.2363, allocations: 289 kB / 356.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2363, allocations: 3.938 kB / 356.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of Templates: time 0.0286/0.2649, allocations: 21.41 MB / 378.1 MB, free: 3.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0567370411008596]