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.001375/0.001375, 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.001895/0.001895, allocations: 208.4 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.754 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.1525/0.1525, allocations: 23.88 MB / 336.3 MB, free: 11.02 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.002094/0.002094, allocations: 71.89 kB / 471.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 59.85 MB / 0.5185 GB, free: 9.176 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.08403/0.4681, allocations: 32.74 MB / 0.5505 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.4803, allocations: 5.601 MB / 0.556 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.4832, allocations: 51.69 kB / 0.556 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004019/0.4872, allocations: 1.247 MB / 0.5572 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.4905, allocations: 0.9732 MB / 0.5582 GB, free: 288 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.492, allocations: 422.9 kB / 0.5586 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004722/0.4967, allocations: 2.615 MB / 0.5611 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.4983, allocations: 0.9873 MB / 0.5621 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.4998, allocations: 1.1 MB / 0.5632 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.5011, allocations: 1.072 MB / 0.5642 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003658/0.5015, allocations: 280 kB / 0.5645 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.5036, allocations: 0.748 MB / 0.5652 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008071/0.5044, allocations: 0.819 MB / 0.566 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.5058, allocations: 1.329 MB / 0.5673 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.5127, allocations: 5.033 MB / 0.5722 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5127, allocations: 0 / 0.5722 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5127, allocations: 0 / 0.5722 GB, free: 2.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.452e-05/0.5128, allocations: 0 / 0.5722 GB, free: 2.691 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.006141/0.519, allocations: 3.803 MB / 0.576 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.519, allocations: 8.031 kB / 0.576 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005729/0.5196, allocations: 477.7 kB / 0.5764 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.5204, allocations: 0.4903 MB / 0.5769 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.523, allocations: 1.421 MB / 0.5783 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.5232, allocations: 246.5 kB / 0.5785 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.5236, allocations: 315.9 kB / 0.5788 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00702/0.5306, allocations: 4.708 MB / 0.5834 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/0.5307, allocations: 19.81 kB / 0.5834 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.531, allocations: 144 kB / 0.5836 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004133/0.5314, allocations: 345.8 kB / 0.5839 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005651/0.537, allocations: 3.575 MB / 0.5874 GB, free: 2.645 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.02589/0.5629, allocations: 19.96 MB / 0.6069 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.5643, allocations: 0.7091 MB / 0.6076 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.5651, allocations: 472.4 kB / 0.608 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/0.5655, allocations: 85.56 kB / 0.6081 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.5655, allocations: 42.5 kB / 0.6082 GB, free: 12.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/0.5655, allocations: 0 / 0.6082 GB, free: 12.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003489/0.569, allocations: 1.728 MB / 0.6098 GB, free: 10.87 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/0.5692, allocations: 294.7 kB / 0.6101 GB, free: 10.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006899/0.5761, allocations: 4.333 MB / 0.6144 GB, free: 6.164 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.5762, allocations: 33.7 kB / 0.6144 GB, free: 6.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001958/0.5782, allocations: 1.749 MB / 0.6161 GB, free: 4.363 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.5783, allocations: 119 kB / 0.6162 GB, free: 4.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.5786, allocations: 154.5 kB / 0.6164 GB, free: 4.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.5788, allocations: 334 kB / 0.6167 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/0.5796, allocations: 469.7 kB / 0.6171 GB, free: 3.297 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.5808, allocations: 0.8369 MB / 0.6179 GB, free: 2.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.5826, allocations: 1.363 MB / 0.6193 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.5826, allocations: 7.938 kB / 0.6193 GB, free: 0.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003145/0.5858, allocations: 1.672 MB / 0.6209 GB, free: 15.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.5858, allocations: 8 kB / 0.6209 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.5858, allocations: 16 kB / 0.6209 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.5861, allocations: 62.27 kB / 0.621 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.5867, allocations: 191.9 kB / 0.6212 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.589, allocations: 2.597 MB / 0.6237 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.5907, allocations: 364.5 kB / 0.6241 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.5909, allocations: 63.98 kB / 0.6241 GB, free: 11.49 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.001554/0.5924, allocations: 0.7552 MB / 0.6249 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006065/0.593, allocations: 361.6 kB / 0.6252 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.5953, allocations: 1.068 MB / 0.6262 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-06/0.5953, allocations: 4 kB / 0.6262 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5953, allocations: 4 kB / 0.6263 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5953, allocations: 7.984 kB / 0.6263 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.5991, allocations: 1.799 MB / 0.628 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5991, allocations: 4 kB / 0.628 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.5994, allocations: 79.83 kB / 0.6281 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.5996, allocations: 53.61 kB / 0.6281 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.5996, allocations: 12 kB / 0.6282 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.602, allocations: 2.555 MB / 0.6307 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.602, allocations: 7.938 kB / 0.6307 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.6045, allocations: 2.036 MB / 0.6327 GB, free: 2.402 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.6056, allocations: 477.4 kB / 0.6331 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.6059, allocations: 8 kB / 0.6331 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/0.6068, allocations: 23.97 kB / 0.6331 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6069, allocations: 35.83 kB / 0.6332 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.607, allocations: 16 kB / 0.6332 GB, free: 1.852 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005536/0.6125, allocations: 3.245 MB / 0.6364 GB, free: 14.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6125, allocations: 0 / 0.6364 GB, free: 14.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002322/0.6148, allocations: 0.5266 MB / 0.6369 GB, free: 14.08 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.003446/0.6183, allocations: 2.698 MB / 0.6395 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.6203, allocations: 1.043 MB / 0.6405 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6203, allocations: 192 / 0.6405 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.6211, allocations: 0.5054 MB / 0.641 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004443/0.6256, allocations: 0.8218 MB / 0.6418 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05426/0.6798, allocations: 30.3 MB / 0.6714 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.6818, allocations: 1.444 MB / 0.6728 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001502/0.6833, allocations: 397.3 kB / 0.6732 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/0.6852, allocations: 1.378 MB / 0.6745 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of SimCode: time 1.884e-06/0.6852, allocations: 4 kB / 0.6745 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4224/1.108, allocations: 73.44 MB / 0.7463 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/19.05, allocations: 9.688 kB / 0.7463 GB, free: 177.4 MB / 0.5606 GB " [Timeout remaining time 641] (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: 22.118188401684165] Failed to read output from testmodel.py, exit status != 0: 19.217451935168356 19.231100292 18.715652383 Calling exit ...