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.0009275/0.0009275, allocations: 83.73 kB / 9.853 MB, free: 0.8398 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009982/0.001926, allocations: 447.8 kB / 10.29 MB, free: 408 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.0008815/0.0008815, allocations: 161.5 kB / 11.19 MB, free: 2.992 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001909, allocations: 476.2 kB / 11.65 MB, free: 2.527 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.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0917/1.101, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.09471/0.09471, allocations: 17.37 MB / 261.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01118/0.1059, allocations: 6.925 MB / 268.2 MB, free: 6.539 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 2.224e-06/2.224e-06, allocations: 0 / 269.5 MB, free: 5.266 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.885e-05, allocations: 2.312 kB / 269.5 MB, free: 5.262 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.1578/0.1578, allocations: 44.16 MB / 313.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1682, allocations: 6.2 MB / 319.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.1707, allocations: 43.75 kB / 319.9 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003275/0.174, allocations: 1.331 MB / 321.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.177, allocations: 1.015 MB / 322.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1783, allocations: 430.5 kB / 322.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004019/0.1823, allocations: 2.805 MB / 325.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.1837, allocations: 1.039 MB / 326.5 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/0.1864, allocations: 1.935 MB / 328.5 MB, free: 7.941 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.1877, allocations: 0.8684 MB / 329.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.1882, allocations: 280 kB / 329.6 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.1899, allocations: 0.7644 MB / 330.4 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006977/0.1906, allocations: 0.829 MB / 331.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.192, allocations: 1.04 MB / 332.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004858/0.1968, allocations: 3.541 MB / 335.8 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.752e-05/0.1968, allocations: 0 / 335.8 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1968, allocations: 8 kB / 335.8 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001061/0.1969, allocations: 0 / 335.8 MB, free: 0.5938 MB / 314.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.004114/0.2011, allocations: 3.739 MB / 339.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2011, allocations: 8.031 kB / 339.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2022, allocations: 0.7514 MB / 340.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.2037, allocations: 1.07 MB / 341.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.2041, allocations: 242.8 kB / 341.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.2044, allocations: 320.3 kB / 341.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/0.2077, allocations: 2.985 MB / 344.9 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.89e-05/0.2078, allocations: 19.81 kB / 344.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.208, allocations: 144 kB / 345 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003416/0.2083, allocations: 349.8 kB / 345.4 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.2102, allocations: 1.267 MB / 346.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.225, allocations: 16.74 MB / 363.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.2256, allocations: 484.7 kB / 363.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2257, allocations: 88.67 kB / 364 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.226, allocations: 69.53 kB / 364 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.226, allocations: 50.48 kB / 364.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 6.362e-06/0.226, allocations: 4 kB / 364.1 MB, free: 2.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001002/0.227, allocations: 330.8 kB / 364.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.2271, allocations: 290.7 kB / 364.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.2283, allocations: 1.244 MB / 365.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.2283, allocations: 29.7 kB / 366 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008068/0.2291, allocations: 1.496 MB / 367.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/0.2292, allocations: 127 kB / 367.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.2294, allocations: 154.5 kB / 367.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.2295, allocations: 333.9 kB / 368.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2297, allocations: 64.8 kB / 368.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.23, allocations: 457 kB / 368.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.2307, allocations: 0.6139 MB / 369.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.2307, allocations: 4 kB / 369.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001187/0.2319, allocations: 0.5571 MB / 369.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.2319, allocations: 12.78 kB / 369.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.2319, allocations: 20.11 kB / 369.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.2321, allocations: 58.12 kB / 369.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.2327, allocations: 222.7 kB / 370 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.2341, allocations: 2.336 MB / 372.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.2346, allocations: 91.39 kB / 372.5 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.2346, allocations: 48 kB / 372.5 MB, free: 9.82 MB / 362.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.0005189/0.2352, allocations: 172.3 kB / 372.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.2354, allocations: 99.77 kB / 372.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.2363, allocations: 454.8 kB / 373.2 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2363, allocations: 8.062 kB / 373.2 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2363, allocations: 4 kB / 373.2 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2363, allocations: 4 kB / 373.2 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.2381, allocations: 0.9933 MB / 374.2 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2381, allocations: 4 kB / 374.2 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2384, allocations: 83.88 kB / 374.3 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.2386, allocations: 49.69 kB / 374.4 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2386, allocations: 8 kB / 374.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.2399, allocations: 2.329 MB / 376.7 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2399, allocations: 4 kB / 376.7 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.241, allocations: 1.228 MB / 377.9 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.2411, allocations: 142.9 kB / 378.1 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.2412, allocations: 11.98 kB / 378.1 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.2416, allocations: 12 kB / 378.1 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.2416, allocations: 43.81 kB / 378.1 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2417, allocations: 16.06 kB / 378.2 MB, free: 3.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000517/0.2422, allocations: 0.6718 MB / 378.8 MB, free: 3.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2422, allocations: 0 / 378.8 MB, free: 3.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00156/0.2437, allocations: 0.7464 MB / 379.6 MB, free: 2.5 MB / 362.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.000328/0.2441, allocations: 205.2 kB / 379.8 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.2447, allocations: 0.507 MB / 380.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-05/0.2447, allocations: 20.5 kB / 380.3 MB, free: 1.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.2449, allocations: 330.7 kB / 380.6 MB, free: 1.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.2462, allocations: 346.6 kB / 381 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006141/0.2523, allocations: 4.766 MB / 385.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.2529, allocations: 0.5861 MB / 386.3 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.2533, allocations: 151.2 kB / 386.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.2538, allocations: 289.1 kB / 386.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.2538, allocations: 0 / 386.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of Templates: time 0.03523/0.289, allocations: 21.4 MB / 408.1 MB, free: 5.953 MB / 394.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.2913814736530185]