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.000667/0.000667, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008664/0.001533, 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.0006961/0.0006961, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00086/0.001556, 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.8949/0.8949, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08525/0.9802, allocations: 53.65 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.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.08332/0.08332, allocations: 17.44 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01032/0.09365, allocations: 6.964 MB / 268.4 MB, free: 6.402 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.363e-06/1.363e-06, allocations: 0 / 269.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.505e-05, allocations: 2.312 kB / 269.7 MB, free: 5.125 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.1459/0.1459, allocations: 14.09 MB / 283.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.1639, allocations: 6.666 MB / 290.4 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.1663, allocations: 50.16 kB / 290.5 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.1696, allocations: 1.389 MB / 291.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.1723, allocations: 1.238 MB / 293.1 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1734, allocations: 469.9 kB / 293.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003567/0.177, allocations: 3.069 MB / 296.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.1781, allocations: 1.05 MB / 297.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.1804, allocations: 2.069 MB / 299.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.1819, allocations: 0.9659 MB / 300.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004609/0.1824, allocations: 288 kB / 301 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.1844, allocations: 0.8578 MB / 301.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005497/0.185, allocations: 0.7942 MB / 302.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.186, allocations: 0.9898 MB / 303.6 MB, free: 428 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.1893, allocations: 3.506 MB / 307.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.875e-05/0.1893, allocations: 0 / 307.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1893, allocations: 0 / 307.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.872e-05/0.1894, allocations: 4 kB / 307.1 MB, free: 12.89 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.003629/0.193, allocations: 4.585 MB / 311.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1931, allocations: 8.031 kB / 311.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007272/0.1938, allocations: 0.8216 MB / 312.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1949, allocations: 1.07 MB / 313.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.195, allocations: 242.9 kB / 313.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.1952, allocations: 320.4 kB / 314.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.1976, allocations: 3.032 MB / 317.2 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/0.1977, allocations: 23.75 kB / 317.2 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.1978, allocations: 144 kB / 317.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002419/0.198, allocations: 343.1 kB / 317.7 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.1993, allocations: 1.297 MB / 319 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.2094, allocations: 17.04 MB / 336 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.2099, allocations: 480.6 kB / 336.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.21, allocations: 92.84 kB / 336.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.2102, allocations: 77.48 kB / 336.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.2102, allocations: 50.44 kB / 336.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.777e-06/0.2102, allocations: 4 kB / 336.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007719/0.211, allocations: 355.1 kB / 337.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.2111, allocations: 290.7 kB / 337.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.2119, allocations: 1.253 MB / 338.6 MB, free: 12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.2119, allocations: 34.08 kB / 338.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/0.2125, allocations: 1.534 MB / 340.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.2126, allocations: 119 kB / 340.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.2128, allocations: 158.5 kB / 340.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.2129, allocations: 349.8 kB / 340.8 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.213, allocations: 64.8 kB / 340.8 MB, free: 9.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.2133, allocations: 0.4957 MB / 341.3 MB, free: 9.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.2138, allocations: 0.6743 MB / 342 MB, free: 8.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.2139, allocations: 4 kB / 342 MB, free: 8.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0006973/0.2145, allocations: 0.6122 MB / 342.6 MB, free: 7.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2146, allocations: 12 kB / 342.6 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.2146, allocations: 16 kB / 342.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.2147, allocations: 53.7 kB / 342.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.2152, allocations: 249.2 kB / 343 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.2163, allocations: 2.332 MB / 345.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.2166, allocations: 107.3 kB / 345.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/0.2167, allocations: 58.83 kB / 345.4 MB, free: 4.492 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.0003736/0.2171, allocations: 172.3 kB / 345.6 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.2172, allocations: 115.8 kB / 345.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.2178, allocations: 458.9 kB / 346.2 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2178, allocations: 4 kB / 346.2 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2178, allocations: 4 kB / 346.2 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2178, allocations: 8.266 kB / 346.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.2191, allocations: 0.9975 MB / 347.2 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.2191, allocations: 4 kB / 347.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.2193, allocations: 86.28 kB / 347.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2194, allocations: 146.8 kB / 347.4 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.2195, allocations: 49.62 kB / 347.5 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2195, allocations: 11.98 kB / 347.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.2206, allocations: 2.318 MB / 349.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2206, allocations: 4 kB / 349.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.2213, allocations: 1.256 MB / 351.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/0.2214, allocations: 15.92 kB / 351.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.2217, allocations: 12 kB / 351.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.2218, allocations: 40.06 kB / 351.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.2218, allocations: 12 kB / 351.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000481/0.2223, allocations: 0.6766 MB / 351.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2223, allocations: 0 / 351.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001519/0.2238, allocations: 0.7855 MB / 352.6 MB, free: 13.09 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.0002766/0.2241, allocations: 202.4 kB / 352.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005353/0.2246, allocations: 0.5273 MB / 353.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.32e-05/0.2246, allocations: 24.56 kB / 353.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.2249, allocations: 322.5 kB / 353.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.2261, allocations: 468.1 kB / 354.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.2408, allocations: 4.951 MB / 359.1 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.2413, allocations: 0.5847 MB / 359.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004699/0.2417, allocations: 155.5 kB / 359.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.2422, allocations: 289.1 kB / 360.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.2422, allocations: 0 / 360.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of Templates: time 0.03236/0.2745, allocations: 21.44 MB / 381.5 MB, free: 316 kB / 362.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.1094681145623326]