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.0008506/0.0008506, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0008087/0.0008087, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.9357/0.9357, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.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.1059/0.1059, allocations: 17.38 MB / 277.4 MB, free: 11.88 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 65.77 kB / 412.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.123, allocations: 59.85 MB / 472.7 MB, free: 13.87 MB / 378.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.03136/0.1544, allocations: 32.91 MB / 0.4937 GB, free: 13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008932/0.1633, allocations: 5.598 MB / 0.4992 GB, free: 7.391 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.1648, allocations: 43.75 kB / 0.4992 GB, free: 7.348 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.167, allocations: 1.261 MB / 0.5004 GB, free: 6.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.1685, allocations: 0.961 MB / 0.5014 GB, free: 5.109 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.1691, allocations: 430.6 kB / 0.5018 GB, free: 4.688 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.1714, allocations: 2.615 MB / 0.5044 GB, free: 2.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009059/0.1723, allocations: 0.9881 MB / 0.5053 GB, free: 1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.1734, allocations: 1.788 MB / 0.5071 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/0.1741, allocations: 1.064 MB / 0.5081 GB, free: 14.13 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.1743, allocations: 284 kB / 0.5084 GB, free: 13.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.1752, allocations: 0.7488 MB / 0.5091 GB, free: 13.11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.1757, allocations: 0.8212 MB / 0.5099 GB, free: 12.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000764/0.1764, allocations: 1.317 MB / 0.5112 GB, free: 10.96 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003375/0.1798, allocations: 5.046 MB / 0.5161 GB, free: 5.891 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1798, allocations: 0 / 0.5161 GB, free: 5.891 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1798, allocations: 4 kB / 0.5161 GB, free: 5.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.612e-05/0.1798, allocations: 0 / 0.5161 GB, free: 5.887 MB / 426.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.003135/0.183, allocations: 3.803 MB / 0.5198 GB, free: 2.027 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.183, allocations: 8.031 kB / 0.5198 GB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004828/0.1835, allocations: 494.1 kB / 0.5203 GB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1849, allocations: 1.425 MB / 0.5217 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.185, allocations: 246.8 kB / 0.5219 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.1853, allocations: 327.8 kB / 0.5223 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/0.1893, allocations: 4.716 MB / 0.5269 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/0.1893, allocations: 19.81 kB / 0.5269 GB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.1895, allocations: 140 kB / 0.527 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/0.1897, allocations: 349.7 kB / 0.5273 GB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.1928, allocations: 3.567 MB / 0.5308 GB, free: 6.309 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.2037, allocations: 18.52 MB / 0.5489 GB, free: 3.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.2044, allocations: 0.7052 MB / 0.5496 GB, free: 2.375 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.2048, allocations: 468.4 kB / 0.55 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.2051, allocations: 81.52 kB / 0.5501 GB, free: 1.809 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2051, allocations: 54.48 kB / 0.5502 GB, free: 1.746 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 3.426e-06/0.2051, allocations: 0 / 0.5502 GB, free: 1.746 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.00169/0.2068, allocations: 1.529 MB / 0.5517 GB, free: 208 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.2069, allocations: 294.7 kB / 0.552 GB, free: 15.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.2083, allocations: 1.575 MB / 0.5535 GB, free: 14.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.2083, allocations: 33.64 kB / 0.5535 GB, free: 14.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008221/0.2092, allocations: 1.801 MB / 0.5553 GB, free: 12.42 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.2092, allocations: 115.1 kB / 0.5554 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.2094, allocations: 162.6 kB / 0.5555 GB, free: 12.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.2095, allocations: 334 kB / 0.5559 GB, free: 11.81 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.2099, allocations: 473.7 kB / 0.5563 GB, free: 11.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.2105, allocations: 0.8446 MB / 0.5571 GB, free: 10.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2116, allocations: 1.352 MB / 0.5585 GB, free: 8.762 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.2116, allocations: 4 kB / 0.5585 GB, free: 8.758 MB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001464/0.2131, allocations: 1.483 MB / 0.5599 GB, free: 7.262 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2131, allocations: 12 kB / 0.5599 GB, free: 7.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.2131, allocations: 15.98 kB / 0.5599 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.2134, allocations: 57.7 kB / 0.56 GB, free: 7.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.2137, allocations: 191.7 kB / 0.5602 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.215, allocations: 2.548 MB / 0.5627 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.2153, allocations: 95.7 kB / 0.5628 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.2154, allocations: 63.98 kB / 0.5628 GB, free: 4.074 MB / 474.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.0006888/0.216, allocations: 0.7629 MB / 0.5636 GB, free: 3.301 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.2162, allocations: 170.9 kB / 0.5637 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/0.2172, allocations: 0.8891 MB / 0.5646 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2172, allocations: 7.938 kB / 0.5646 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2172, allocations: 7.938 kB / 0.5646 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2172, allocations: 4 kB / 0.5646 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2186, allocations: 1.475 MB / 0.5661 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2186, allocations: 7.984 kB / 0.5661 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2188, allocations: 67.97 kB / 0.5661 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-05/0.2189, allocations: 53.61 kB / 0.5662 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2189, allocations: 16 kB / 0.5662 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.2202, allocations: 2.517 MB / 0.5687 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2202, allocations: 8.094 kB / 0.5687 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.2215, allocations: 1.818 MB / 0.5704 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.2216, allocations: 158.8 kB / 0.5706 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/0.2217, allocations: 19.94 kB / 0.5706 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.222, allocations: 27.91 kB / 0.5706 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.2221, allocations: 35.89 kB / 0.5707 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2221, allocations: 12 kB / 0.5707 GB, free: 11.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001098/0.2232, allocations: 1.295 MB / 0.5719 GB, free: 10.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2232, allocations: 0 / 0.5719 GB, free: 10.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001114/0.2243, allocations: 0.7504 MB / 0.5727 GB, free: 9.684 MB / 490.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.0003193/0.2247, allocations: 219.1 kB / 0.5729 GB, free: 9.461 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.2257, allocations: 1.035 MB / 0.5739 GB, free: 8.402 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2257, allocations: 4.188 kB / 0.5739 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006018/0.2263, allocations: 0.5049 MB / 0.5744 GB, free: 7.867 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.2276, allocations: 338.8 kB / 0.5747 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.2323, allocations: 5.177 MB / 0.5798 GB, free: 2.301 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.2336, allocations: 1.449 MB / 0.5812 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.2339, allocations: 163.2 kB / 0.5813 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.234, allocations: 76.48 kB / 0.5814 GB, free: 0.582 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.234, allocations: 4 kB / 0.5814 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of Templates: time 0.2668/0.5008, allocations: 18.47 MB / 0.5995 GB, free: 100.8 MB / 490.7 MB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.979574467986822] Failed to read output from testmodel.py, exit status != 0: 0.7134988600155339 0.5128528379999999 0.33159369599999994 Calling exit ...