Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0007006/0.0007006, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009326/0.001633, 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.0006897/0.0006897, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008951/0.001585, 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.9164/0.9164, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09295/1.009, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08781/0.08781, allocations: 17.44 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01191/0.09972, allocations: 6.977 MB / 268.6 MB, free: 6.297 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 269.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.416e-05, allocations: 2.312 kB / 269.9 MB, free: 4.992 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Boundaries.mo:621:5-621: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.1-master/Boundaries.mo:621:5-621: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.1596/0.1596, allocations: 14.1 MB / 284 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01885/0.1785, allocations: 6.66 MB / 290.6 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.1819, allocations: 54 kB / 290.7 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004693/0.1866, allocations: 1.384 MB / 292.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.1911, allocations: 1.239 MB / 293.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.1927, allocations: 475.3 kB / 293.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004604/0.1973, allocations: 3.081 MB / 296.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.1984, allocations: 1.046 MB / 297.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.2011, allocations: 2.064 MB / 299.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.2026, allocations: 0.9696 MB / 300.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.2031, allocations: 284 kB / 301.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.205, allocations: 0.85 MB / 302 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.2056, allocations: 0.7981 MB / 302.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.2067, allocations: 0.9899 MB / 303.8 MB, free: 252 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003671/0.2103, allocations: 3.498 MB / 307.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/0.2104, allocations: 0 / 307.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2104, allocations: 0 / 307.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001244/0.2105, allocations: 0 / 307.3 MB, free: 12.73 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.00406/0.2145, allocations: 4.573 MB / 311.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2146, allocations: 8.031 kB / 311.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/0.2154, allocations: 0.8294 MB / 312.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.2168, allocations: 1.074 MB / 313.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.2169, allocations: 238.9 kB / 314 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.2173, allocations: 324.3 kB / 314.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.2198, allocations: 3.028 MB / 317.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.854e-05/0.2199, allocations: 23.75 kB / 317.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.22, allocations: 148 kB / 317.6 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002578/0.2203, allocations: 329.8 kB / 317.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.2218, allocations: 1.294 MB / 319.2 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.2335, allocations: 17.05 MB / 336.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.2339, allocations: 476.9 kB / 336.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.234, allocations: 100.5 kB / 336.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.2342, allocations: 69.55 kB / 336.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2343, allocations: 54.42 kB / 336.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/0.2343, allocations: 0 / 336.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007993/0.2351, allocations: 356.4 kB / 337.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.2352, allocations: 294.7 kB / 337.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.2361, allocations: 1.257 MB / 338.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.2361, allocations: 37.7 kB / 338.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000762/0.2369, allocations: 1.523 MB / 340.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.237, allocations: 115 kB / 340.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.2372, allocations: 158.5 kB / 340.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.2373, allocations: 345.8 kB / 341 MB, free: 9.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2374, allocations: 68.78 kB / 341 MB, free: 9.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.2378, allocations: 0.4918 MB / 341.5 MB, free: 8.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.2385, allocations: 0.7124 MB / 342.2 MB, free: 7.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.2386, allocations: 4 kB / 342.2 MB, free: 7.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009266/0.2395, allocations: 0.6111 MB / 342.9 MB, free: 7.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2395, allocations: 12 kB / 342.9 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.2395, allocations: 17.16 kB / 342.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.2397, allocations: 65.62 kB / 343 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.2403, allocations: 232.4 kB / 343.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.2416, allocations: 2.344 MB / 345.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.2422, allocations: 111.2 kB / 345.6 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.2423, allocations: 54.89 kB / 345.7 MB, free: 4.305 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (93): * Single equations (assignments): 91 * 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.0005122/0.2428, allocations: 172.5 kB / 345.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.2431, allocations: 115.8 kB / 346 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.2438, allocations: 454.9 kB / 346.4 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2439, allocations: 4 kB / 346.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2439, allocations: 4 kB / 346.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2439, allocations: 7.984 kB / 346.4 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.2457, allocations: 1.001 MB / 347.4 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.2457, allocations: 4 kB / 347.4 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.246, allocations: 89.56 kB / 347.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.2462, allocations: 150.8 kB / 347.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.2463, allocations: 41.69 kB / 347.7 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.2464, allocations: 11.98 kB / 347.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.2476, allocations: 2.322 MB / 350 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.2476, allocations: 11.92 kB / 350.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.2483, allocations: 1.248 MB / 351.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.2485, allocations: 23.92 kB / 351.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.249, allocations: 12 kB / 351.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.2491, allocations: 31.88 kB / 351.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.2491, allocations: 12 kB / 351.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000652/0.2498, allocations: 0.6805 MB / 352.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2498, allocations: 0 / 352.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002/0.2518, allocations: 0.7816 MB / 352.8 MB, free: 12.89 MB / 346.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.000353/0.2521, allocations: 207.1 kB / 353 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.2528, allocations: 0.5392 MB / 353.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-05/0.2529, allocations: 24.5 kB / 353.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.2533, allocations: 429.4 kB / 354 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.2561, allocations: 3.38 MB / 357.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/0.2764, allocations: 4.943 MB / 362.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.2771, allocations: 0.5769 MB / 362.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005396/0.2776, allocations: 155.5 kB / 363.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.2783, allocations: 293.1 kB / 363.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2783, allocations: 0 / 363.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of Templates: time 0.03714/0.3154, allocations: 20.99 MB / 384.4 MB, free: 12.85 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_master_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.25100701674819]