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.0006688/0.0006688, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009162/0.001585, 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.0006782/0.0006782, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008947/0.001573, 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.9739/0.9739, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0902/1.064, allocations: 53.67 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.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.1075/0.1075, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009449/0.1169, allocations: 6.933 MB / 268.4 MB, free: 6.406 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.293e-06/1.293e-06, allocations: 0 / 269.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.066e-05, allocations: 2.312 kB / 269.7 MB, free: 5.094 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.1344/0.1344, allocations: 13.6 MB / 283.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009251/0.1437, allocations: 6.241 MB / 289.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1449, allocations: 51.16 kB / 289.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.1473, allocations: 1.326 MB / 291 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.1487, allocations: 1.006 MB / 292 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008892/0.1496, allocations: 442.8 kB / 292.4 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.1521, allocations: 2.769 MB / 295.2 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009746/0.1531, allocations: 1.048 MB / 296.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.1546, allocations: 1.926 MB / 298.1 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008584/0.1555, allocations: 0.864 MB / 299 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.1558, allocations: 282.6 kB / 299.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.1572, allocations: 0.7761 MB / 300.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.1575, allocations: 0.7045 MB / 300.8 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006941/0.1582, allocations: 0.9196 MB / 301.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.1608, allocations: 3.327 MB / 305 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.1608, allocations: 8 kB / 305 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1608, allocations: 0 / 305 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.426e-05/0.1609, allocations: 0 / 305 MB, free: 15.09 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.003372/0.1643, allocations: 4.434 MB / 309.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.1643, allocations: 8.031 kB / 309.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007097/0.165, allocations: 0.7604 MB / 310.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.166, allocations: 1.058 MB / 311.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1662, allocations: 242.8 kB / 311.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.1664, allocations: 324.2 kB / 311.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.1687, allocations: 2.99 MB / 314.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.221e-05/0.1687, allocations: 23.81 kB / 314.8 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.1689, allocations: 140 kB / 315 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/0.1691, allocations: 337.8 kB / 315.3 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1703, allocations: 1.27 MB / 316.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.1816, allocations: 16.75 MB / 333.3 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.182, allocations: 480.7 kB / 333.8 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1822, allocations: 96.7 kB / 333.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.1824, allocations: 65.59 kB / 334 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1824, allocations: 54.48 kB / 334 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.1824, allocations: 0 / 334 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008565/0.1833, allocations: 327.2 kB / 334.3 MB, free: 452 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1834, allocations: 294.7 kB / 334.6 MB, free: 88 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.1847, allocations: 1.236 MB / 335.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1847, allocations: 33.7 kB / 335.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007099/0.1854, allocations: 1.488 MB / 337.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.1855, allocations: 123 kB / 337.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.1857, allocations: 154.5 kB / 337.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.1858, allocations: 333.9 kB / 338 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1859, allocations: 68.78 kB / 338 MB, free: 12.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.1863, allocations: 457.1 kB / 338.5 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.1869, allocations: 0.6488 MB / 339.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.1869, allocations: 8 kB / 339.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000763/0.1876, allocations: 0.5566 MB / 339.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.1877, allocations: 12 kB / 339.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.1877, allocations: 12 kB / 339.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.1879, allocations: 54.33 kB / 339.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.1884, allocations: 230.5 kB / 340 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.1899, allocations: 2.352 MB / 342.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.1903, allocations: 87.41 kB / 342.4 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.1904, allocations: 51.98 kB / 342.5 MB, free: 7.609 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.0003383/0.1907, allocations: 176.4 kB / 342.7 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.1909, allocations: 91.89 kB / 342.8 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007699/0.1917, allocations: 449.7 kB / 343.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.1917, allocations: 8 kB / 343.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1917, allocations: 7.984 kB / 343.2 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1917, allocations: 4.031 kB / 343.2 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.1932, allocations: 0.9973 MB / 344.2 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1932, allocations: 7.938 kB / 344.2 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.1934, allocations: 83.88 kB / 344.3 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.1936, allocations: 142.9 kB / 344.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.1937, allocations: 45.67 kB / 344.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.1937, allocations: 12 kB / 344.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1948, allocations: 2.321 MB / 346.8 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1948, allocations: 7.938 kB / 346.8 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.1955, allocations: 1.225 MB / 348 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.1956, allocations: 8 kB / 348.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.1961, allocations: 16.11 kB / 348.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.1962, allocations: 47.81 kB / 348.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1962, allocations: 8 kB / 348.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006242/0.1968, allocations: 0.6757 MB / 348.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1968, allocations: 0 / 348.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001832/0.1986, allocations: 0.7425 MB / 349.5 MB, free: 308 kB / 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.0003214/0.1989, allocations: 198.9 kB / 349.7 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000584/0.1995, allocations: 0.5206 MB / 350.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.762e-05/0.1996, allocations: 24.59 kB / 350.3 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.2, allocations: 455.2 kB / 350.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.2026, allocations: 3.342 MB / 354.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.2216, allocations: 4.883 MB / 359 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.2221, allocations: 0.5794 MB / 359.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004009/0.2225, allocations: 151.4 kB / 359.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/0.2231, allocations: 285.1 kB / 360 MB, free: 5.066 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2231, allocations: 4 kB / 360 MB, free: 5.062 MB / 346.7 MB Notification: Performance of Templates: time 0.03052/0.2536, allocations: 21.04 MB / 381 MB, free: 336 kB / 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.255577110685408]