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.001256/0.001256, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001612/0.001612, allocations: 214.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1483/0.1483, allocations: 24 MB / 336.4 MB, free: 10.87 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [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.002071/0.002071, allocations: 67.89 kB / 471.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3554, allocations: 59.89 MB / 0.5187 GB, free: 9.438 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.08012/0.4355, allocations: 32.95 MB / 0.5509 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.4486, allocations: 5.587 MB / 0.5564 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.4516, allocations: 47.69 kB / 0.5564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003981/0.4556, allocations: 1.2 MB / 0.5576 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.4589, allocations: 1.027 MB / 0.5586 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.4602, allocations: 437.1 kB / 0.559 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004091/0.4642, allocations: 2.679 MB / 0.5616 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.4657, allocations: 0.9889 MB / 0.5626 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.4671, allocations: 1.152 MB / 0.5637 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.4685, allocations: 1.076 MB / 0.5648 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000417/0.4689, allocations: 288 kB / 0.565 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.4707, allocations: 0.7213 MB / 0.5657 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007839/0.4715, allocations: 0.8307 MB / 0.5665 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.4729, allocations: 1.333 MB / 0.5679 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005657/0.4785, allocations: 5.027 MB / 0.5728 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4785, allocations: 0 / 0.5728 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4785, allocations: 0 / 0.5728 GB, free: 2.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.11e-05/0.4786, allocations: 0 / 0.5728 GB, free: 2.32 MB / 414.1 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.005204/0.4838, allocations: 3.822 MB / 0.5765 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4838, allocations: 8.031 kB / 0.5765 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000532/0.4844, allocations: 485.9 kB / 0.577 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007679/0.4851, allocations: 498 kB / 0.5774 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.4875, allocations: 1.436 MB / 0.5788 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.4878, allocations: 250.6 kB / 0.5791 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.4881, allocations: 323.9 kB / 0.5794 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006829/0.495, allocations: 4.767 MB / 0.584 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.131e-05/0.495, allocations: 23.81 kB / 0.5841 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.4953, allocations: 143.9 kB / 0.5842 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000389/0.4957, allocations: 349.8 kB / 0.5845 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005448/0.5011, allocations: 3.597 MB / 0.5881 GB, free: 2.129 MB / 430.1 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.02242/0.5235, allocations: 20.24 MB / 0.6078 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.5248, allocations: 0.7013 MB / 0.6085 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/0.5255, allocations: 472.4 kB / 0.6089 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003928/0.5259, allocations: 81.56 kB / 0.609 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.526, allocations: 46.5 kB / 0.6091 GB, free: 11.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/0.526, allocations: 0 / 0.6091 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003282/0.5293, allocations: 1.707 MB / 0.6107 GB, free: 10.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/0.5294, allocations: 298.6 kB / 0.611 GB, free: 9.734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006124/0.5356, allocations: 4.279 MB / 0.6152 GB, free: 5.438 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.5356, allocations: 29.7 kB / 0.6152 GB, free: 5.402 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.5373, allocations: 1.791 MB / 0.617 GB, free: 3.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5375, allocations: 115.1 kB / 0.6171 GB, free: 3.488 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.5378, allocations: 170.5 kB / 0.6172 GB, free: 3.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5379, allocations: 334 kB / 0.6176 GB, free: 2.984 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/0.5387, allocations: 465.8 kB / 0.618 GB, free: 2.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.5398, allocations: 0.8988 MB / 0.6189 GB, free: 1.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.5417, allocations: 1.425 MB / 0.6203 GB, free: 15.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.5417, allocations: 8 kB / 0.6203 GB, free: 15.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002883/0.5446, allocations: 1.708 MB / 0.622 GB, free: 14.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.5447, allocations: 12 kB / 0.622 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5447, allocations: 16 kB / 0.622 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.5449, allocations: 66.14 kB / 0.622 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.5455, allocations: 211.7 kB / 0.6222 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.5477, allocations: 2.586 MB / 0.6248 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.5491, allocations: 368.1 kB / 0.6251 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.5492, allocations: 64 kB / 0.6252 GB, free: 10.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (94): * Single equations (assignments): 92 * 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.001292/0.5505, allocations: 0.7706 MB / 0.6259 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005746/0.551, allocations: 357.6 kB / 0.6263 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.5531, allocations: 1.063 MB / 0.6273 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5531, allocations: 4.125 kB / 0.6273 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5531, allocations: 8 kB / 0.6273 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5531, allocations: 7.938 kB / 0.6273 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.5564, allocations: 1.821 MB / 0.6291 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5564, allocations: 4 kB / 0.6291 GB, free: 6.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.5567, allocations: 83.89 kB / 0.6292 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.5569, allocations: 41.69 kB / 0.6292 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.5569, allocations: 12 kB / 0.6293 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.5591, allocations: 2.563 MB / 0.6318 GB, free: 3.453 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5591, allocations: 4.031 kB / 0.6318 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.5615, allocations: 2.028 MB / 0.6337 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.5628, allocations: 465.3 kB / 0.6342 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.5631, allocations: 12 kB / 0.6342 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.5641, allocations: 19.98 kB / 0.6342 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5642, allocations: 35.94 kB / 0.6342 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.5642, allocations: 16 kB / 0.6343 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005103/0.5693, allocations: 3.197 MB / 0.6374 GB, free: 13.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5693, allocations: 0 / 0.6374 GB, free: 13.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002375/0.5717, allocations: 0.5459 MB / 0.6379 GB, free: 13.1 MB / 494.1 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.003255/0.575, allocations: 2.697 MB / 0.6406 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.5769, allocations: 1.051 MB / 0.6416 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.5769, allocations: 4 kB / 0.6416 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007672/0.5777, allocations: 0.497 MB / 0.6421 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/0.5822, allocations: 0.8105 MB / 0.6429 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04792/0.6301, allocations: 30.1 MB / 0.6723 GB, free: 9.125 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/0.632, allocations: 1.445 MB / 0.6737 GB, free: 7.648 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001306/0.6333, allocations: 405.1 kB / 0.6741 GB, free: 7.246 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/0.6352, allocations: 1.397 MB / 0.6754 GB, free: 5.848 MB / 0.5138 GB Notification: Performance of SimCode: time 1.423e-06/0.6352, allocations: 4 kB / 0.6754 GB, free: 5.844 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3697/1.005, allocations: 72.39 MB / 0.7461 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.69/17.69, allocations: 5.391 kB / 0.7461 GB, free: 177.7 MB / 0.5606 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Boundaries.Tests.TestBoundaries_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Chemical_master_Chemical_Boundaries_Tests_TestBoundaries.fmu > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.569818027317524] Failed to read output from testmodel.py, exit status != 0: 17.851117707788944 17.865058176 17.383822343 Calling exit ...