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.001771/0.001771, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.002161/0.002161, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.625/1.625, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.1717/0.1717, allocations: 23.84 MB / 332.7 MB, free: 12.33 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.002089/0.002089, allocations: 63.91 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4734, allocations: 59.81 MB / 0.5135 GB, free: 8.863 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.05433/0.5277, allocations: 34.53 MB / 0.5472 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.5425, allocations: 6.212 MB / 0.5533 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00483/0.5473, allocations: 47.75 kB / 0.5533 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005289/0.5526, allocations: 1.352 MB / 0.5546 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.5574, allocations: 0.9663 MB / 0.5556 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.5593, allocations: 435.1 kB / 0.556 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005542/0.5649, allocations: 2.611 MB / 0.5585 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.5666, allocations: 1.131 MB / 0.5596 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.5683, allocations: 1.089 MB / 0.5607 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.5699, allocations: 1.302 MB / 0.562 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003584/0.5702, allocations: 284 kB / 0.5622 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.5735, allocations: 1.344 MB / 0.5635 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009781/0.5745, allocations: 0.8162 MB / 0.5643 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.5765, allocations: 1.776 MB / 0.5661 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007711/0.5842, allocations: 5.185 MB / 0.5711 GB, free: 92 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5842, allocations: 0 / 0.5711 GB, free: 92 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5842, allocations: 0 / 0.5711 GB, free: 92 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.623e-05/0.5843, allocations: 0 / 0.5711 GB, free: 92 kB / 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.005967/0.5902, allocations: 3.873 MB / 0.5749 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.5903, allocations: 12.03 kB / 0.5749 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005594/0.5909, allocations: 481.7 kB / 0.5754 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/0.5917, allocations: 494.1 kB / 0.5759 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.5941, allocations: 1.486 MB / 0.5773 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.5943, allocations: 250.5 kB / 0.5776 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.5947, allocations: 315.9 kB / 0.5779 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007074/0.6017, allocations: 4.673 MB / 0.5824 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.583e-05/0.6018, allocations: 23.8 kB / 0.5824 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/0.6021, allocations: 140 kB / 0.5826 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004449/0.6026, allocations: 341.8 kB / 0.5829 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007318/0.6099, allocations: 3.482 MB / 0.5863 GB, free: 4 kB / 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.0342/0.6441, allocations: 21.37 MB / 0.6072 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.6456, allocations: 0.709 MB / 0.6079 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.6464, allocations: 456.4 kB / 0.6083 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005058/0.647, allocations: 158.7 kB / 0.6085 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.647, allocations: 50.5 kB / 0.6085 GB, free: 8.406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.965e-06/0.647, allocations: 0 / 0.6085 GB, free: 8.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.004001/0.651, allocations: 1.834 MB / 0.6103 GB, free: 6.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/0.6512, allocations: 298.7 kB / 0.6106 GB, free: 6.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008123/0.6593, allocations: 4.302 MB / 0.6148 GB, free: 1.844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.6594, allocations: 33.7 kB / 0.6148 GB, free: 1.805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.6612, allocations: 1.756 MB / 0.6165 GB, free: 36 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.6614, allocations: 115.2 kB / 0.6166 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.6617, allocations: 162.5 kB / 0.6168 GB, free: 15.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.6619, allocations: 333.9 kB / 0.6171 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/0.6627, allocations: 449.8 kB / 0.6175 GB, free: 14.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.6638, allocations: 0.8292 MB / 0.6183 GB, free: 13.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.6658, allocations: 1.345 MB / 0.6197 GB, free: 12.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.6658, allocations: 11.69 kB / 0.6197 GB, free: 12.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003437/0.6693, allocations: 1.649 MB / 0.6213 GB, free: 10.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.6693, allocations: 8 kB / 0.6213 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.6693, allocations: 16 kB / 0.6213 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.6696, allocations: 66.22 kB / 0.6214 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.6702, allocations: 187.7 kB / 0.6215 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.6728, allocations: 2.793 MB / 0.6243 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.6749, allocations: 372.5 kB / 0.6246 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.675, allocations: 56 kB / 0.6247 GB, free: 6.984 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.001578/0.6766, allocations: 0.7631 MB / 0.6254 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007047/0.6773, allocations: 361.6 kB / 0.6258 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.6795, allocations: 1.04 MB / 0.6268 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6795, allocations: 4 kB / 0.6268 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6795, allocations: 4.125 kB / 0.6268 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.6796, allocations: 4 kB / 0.6268 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.6834, allocations: 2.221 MB / 0.629 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.6834, allocations: 7.938 kB / 0.629 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.6837, allocations: 75.89 kB / 0.629 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.6839, allocations: 45.97 kB / 0.6291 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.684, allocations: 15.94 kB / 0.6291 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.6863, allocations: 2.781 MB / 0.6318 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6863, allocations: 4 kB / 0.6318 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.6889, allocations: 1.997 MB / 0.6338 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.6901, allocations: 0.5376 MB / 0.6343 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.6904, allocations: 11.95 kB / 0.6343 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009279/0.6913, allocations: 19.98 kB / 0.6343 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6915, allocations: 47.83 kB / 0.6344 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.6915, allocations: 8 kB / 0.6344 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005557/0.697, allocations: 3.245 MB / 0.6376 GB, free: 9.367 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.697, allocations: 0 / 0.6376 GB, free: 9.367 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002481/0.6995, allocations: 0.5227 MB / 0.6381 GB, free: 8.844 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.003212/0.7027, allocations: 2.669 MB / 0.6407 GB, free: 6.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.7047, allocations: 1.012 MB / 0.6417 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.7047, allocations: 0 / 0.6417 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000808/0.7055, allocations: 0.4978 MB / 0.6421 GB, free: 4.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/0.71, allocations: 0.8137 MB / 0.6429 GB, free: 3.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05916/0.7691, allocations: 30.24 MB / 0.6725 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003059/0.7722, allocations: 1.999 MB / 0.6744 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001712/0.7739, allocations: 397.3 kB / 0.6748 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/0.7762, allocations: 1.386 MB / 0.6762 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of SimCode: time 1.452e-06/0.7762, allocations: 0 / 0.6762 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4747/1.251, allocations: 69.04 MB / 0.7436 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.48/21.73, allocations: 4.891 kB / 0.7436 GB, free: 179.3 MB / 0.5606 GB " [Timeout remaining time 638] (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: 24.917886554991128] Failed to read output from testmodel.py, exit status != 0: 21.86808960601047 21.879145041 21.292583897 Calling exit ...