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.001261/0.001261, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001475/0.001475, allocations: 222.3 kB / 22.25 MB, free: 5.254 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.134/0.134, allocations: 23.89 MB / 336.3 MB, free: 10.96 MB / 270.1 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: "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_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.00199/0.00199, allocations: 67.91 kB / 471.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 59.86 MB / 0.5185 GB, free: 9.605 MB / 382.1 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.07552/0.3791, allocations: 32.67 MB / 0.5504 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.3906, allocations: 5.598 MB / 0.5559 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.3931, allocations: 47.75 kB / 0.5559 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.3972, allocations: 1.25 MB / 0.5572 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.4009, allocations: 0.9732 MB / 0.5581 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.4022, allocations: 422.5 kB / 0.5585 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004091/0.4063, allocations: 2.618 MB / 0.5611 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.4077, allocations: 1.004 MB / 0.562 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.409, allocations: 1.096 MB / 0.5631 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.4104, allocations: 1.298 MB / 0.5644 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.4108, allocations: 280 kB / 0.5647 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.4126, allocations: 0.7708 MB / 0.5654 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007268/0.4133, allocations: 0.8162 MB / 0.5662 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.4146, allocations: 1.325 MB / 0.5675 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005817/0.4204, allocations: 5.038 MB / 0.5724 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4204, allocations: 0 / 0.5724 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4204, allocations: 0 / 0.5724 GB, free: 2.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.453e-05/0.4205, allocations: 0 / 0.5724 GB, free: 2.613 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: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.00517/0.4257, allocations: 3.799 MB / 0.5761 GB, free: 14.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4257, allocations: 8.031 kB / 0.5761 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005229/0.4263, allocations: 477.7 kB / 0.5766 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007247/0.427, allocations: 494.1 kB / 0.5771 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.4292, allocations: 1.428 MB / 0.5785 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.4294, allocations: 238.6 kB / 0.5787 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.4298, allocations: 319.9 kB / 0.579 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006229/0.436, allocations: 4.72 MB / 0.5836 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.729e-05/0.4361, allocations: 23.81 kB / 0.5836 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.4363, allocations: 140 kB / 0.5838 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003703/0.4367, allocations: 341.8 kB / 0.5841 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004947/0.4416, allocations: 3.579 MB / 0.5876 GB, free: 2.559 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.02063/0.4623, allocations: 19.97 MB / 0.6071 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.4634, allocations: 0.713 MB / 0.6078 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.464, allocations: 468.4 kB / 0.6082 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/0.4644, allocations: 85.5 kB / 0.6083 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.4645, allocations: 46.5 kB / 0.6083 GB, free: 12.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/0.4645, allocations: 0 / 0.6083 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003146/0.4676, allocations: 1.724 MB / 0.61 GB, free: 10.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.4678, allocations: 298.7 kB / 0.6103 GB, free: 10.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005784/0.4736, allocations: 4.321 MB / 0.6145 GB, free: 6.082 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.4736, allocations: 33.7 kB / 0.6146 GB, free: 6.043 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.4754, allocations: 1.752 MB / 0.6163 GB, free: 4.277 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.4756, allocations: 115 kB / 0.6164 GB, free: 4.164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.4758, allocations: 162.6 kB / 0.6165 GB, free: 4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.476, allocations: 330 kB / 0.6169 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.4767, allocations: 465.7 kB / 0.6173 GB, free: 3.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4777, allocations: 0.8446 MB / 0.6181 GB, free: 2.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.4797, allocations: 1.36 MB / 0.6195 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.4797, allocations: 7.938 kB / 0.6195 GB, free: 0.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002628/0.4824, allocations: 1.669 MB / 0.6211 GB, free: 14.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4824, allocations: 12.03 kB / 0.6211 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.4824, allocations: 19.98 kB / 0.6211 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.4826, allocations: 61.64 kB / 0.6212 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.4832, allocations: 187.7 kB / 0.6214 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.4856, allocations: 2.593 MB / 0.6239 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4868, allocations: 364.5 kB / 0.6242 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/0.4869, allocations: 64.25 kB / 0.6243 GB, free: 11.41 MB / 478.1 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.001255/0.4881, allocations: 0.759 MB / 0.625 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005562/0.4887, allocations: 357.6 kB / 0.6254 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.4906, allocations: 1.072 MB / 0.6264 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4906, allocations: 8 kB / 0.6264 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4906, allocations: 0 / 0.6264 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4906, allocations: 8.062 kB / 0.6264 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.4934, allocations: 1.803 MB / 0.6282 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.4934, allocations: 4 kB / 0.6282 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.4937, allocations: 83.77 kB / 0.6283 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/0.4938, allocations: 41.69 kB / 0.6283 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4939, allocations: 19.92 kB / 0.6283 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.496, allocations: 2.558 MB / 0.6308 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.496, allocations: 4 kB / 0.6308 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.4982, allocations: 2.044 MB / 0.6328 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.4991, allocations: 473.4 kB / 0.6333 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.4993, allocations: 8 kB / 0.6333 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008673/0.5002, allocations: 23.98 kB / 0.6333 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.5003, allocations: 39.88 kB / 0.6334 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.5003, allocations: 12 kB / 0.6334 GB, free: 1.762 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004445/0.5048, allocations: 3.241 MB / 0.6365 GB, free: 14.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5048, allocations: 0 / 0.6365 GB, free: 14.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001595/0.5064, allocations: 0.5266 MB / 0.6371 GB, free: 13.99 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.002819/0.5092, allocations: 2.699 MB / 0.6397 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.5108, allocations: 1.039 MB / 0.6407 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5108, allocations: 0 / 0.6407 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.5116, allocations: 0.5051 MB / 0.6412 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/0.5151, allocations: 0.8192 MB / 0.642 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/0.5587, allocations: 30.3 MB / 0.6716 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.5604, allocations: 1.44 MB / 0.673 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001146/0.5616, allocations: 405.3 kB / 0.6734 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/0.5632, allocations: 1.382 MB / 0.6747 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/0.5632, allocations: 3.938 kB / 0.6747 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3313/0.8946, allocations: 73.65 MB / 0.7467 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.59, allocations: 3.938 kB / 0.7467 GB, free: 179.7 MB / 0.5606 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Boundaries_Tests_TestBoundaries.fmu > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.218352611002047] Failed to read output from testmodel.py, exit status != 0: 16.75994580599945 16.77219691 16.349411265 Calling exit ...