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.001832/0.001832, allocations: 109.3 kB / 16.46 MB, free: 6.508 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.002237/0.002237, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.563/1.563, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.1549/0.1549, allocations: 23.88 MB / 332.7 MB, free: 12.34 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.002055/0.002055, allocations: 71.89 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3473, allocations: 59.82 MB / 0.5135 GB, free: 8.852 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1562:5-1562: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/Interfaces.mo:1562:5-1562: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.05489/0.4022, allocations: 34.72 MB / 0.5474 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.4175, allocations: 6.21 MB / 0.5535 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00586/0.4234, allocations: 51.69 kB / 0.5535 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005927/0.4293, allocations: 1.35 MB / 0.5549 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.4346, allocations: 0.9678 MB / 0.5558 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.4367, allocations: 435.1 kB / 0.5562 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00656/0.4432, allocations: 2.609 MB / 0.5588 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.4453, allocations: 1.132 MB / 0.5599 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.4472, allocations: 1.13 MB / 0.561 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.4494, allocations: 1.298 MB / 0.5622 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.4499, allocations: 284 kB / 0.5625 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.4539, allocations: 1.344 MB / 0.5638 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.4553, allocations: 0.8162 MB / 0.5646 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004206/0.4595, allocations: 1.772 MB / 0.5664 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.4725, allocations: 5.178 MB / 0.5714 GB, free: 15.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4726, allocations: 0 / 0.5714 GB, free: 15.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4726, allocations: 4 kB / 0.5714 GB, free: 15.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001714/0.4727, allocations: 0 / 0.5714 GB, free: 15.85 MB / 430.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.01068/0.4834, allocations: 3.878 MB / 0.5752 GB, free: 11.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/0.4835, allocations: 12.03 kB / 0.5752 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/0.4846, allocations: 469.7 kB / 0.5757 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.486, allocations: 0.4903 MB / 0.5761 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.4896, allocations: 1.498 MB / 0.5776 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.4898, allocations: 250.5 kB / 0.5778 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004728/0.4903, allocations: 315.9 kB / 0.5781 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008624/0.4989, allocations: 4.677 MB / 0.5827 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-05/0.499, allocations: 19.81 kB / 0.5827 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.4993, allocations: 140 kB / 0.5829 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004384/0.4997, allocations: 349.8 kB / 0.5832 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007238/0.507, allocations: 3.481 MB / 0.5866 GB, free: 15.74 MB / 446.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.02794/0.5349, allocations: 21.36 MB / 0.6075 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.5364, allocations: 0.6896 MB / 0.6081 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000819/0.5372, allocations: 456.4 kB / 0.6086 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000506/0.5377, allocations: 154.6 kB / 0.6087 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.5377, allocations: 54.48 kB / 0.6088 GB, free: 8.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.945e-06/0.5377, allocations: 4 kB / 0.6088 GB, free: 8.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003908/0.5417, allocations: 1.828 MB / 0.6105 GB, free: 6.297 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/0.5419, allocations: 298.8 kB / 0.6108 GB, free: 5.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00887/0.5507, allocations: 4.289 MB / 0.615 GB, free: 1.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.754e-05/0.5508, allocations: 33.7 kB / 0.6151 GB, free: 1.594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/0.5528, allocations: 1.76 MB / 0.6168 GB, free: 15.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.5529, allocations: 115.1 kB / 0.6169 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.5533, allocations: 154.5 kB / 0.617 GB, free: 15.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5534, allocations: 337.9 kB / 0.6174 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/0.5542, allocations: 457.8 kB / 0.6178 GB, free: 14.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.5553, allocations: 0.8513 MB / 0.6186 GB, free: 13.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.5573, allocations: 1.358 MB / 0.6199 GB, free: 12.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.5573, allocations: 7.75 kB / 0.62 GB, free: 12.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00314/0.5604, allocations: 1.656 MB / 0.6216 GB, free: 10.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.5604, allocations: 12 kB / 0.6216 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.5605, allocations: 16 kB / 0.6216 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/0.5607, allocations: 66.47 kB / 0.6217 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.5614, allocations: 195.7 kB / 0.6218 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.5639, allocations: 2.804 MB / 0.6246 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.5655, allocations: 364.5 kB / 0.6249 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.5656, allocations: 68.08 kB / 0.625 GB, free: 6.68 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (89): * Single equations (assignments): 87 * 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.001438/0.567, allocations: 0.759 MB / 0.6257 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008338/0.5678, allocations: 361.6 kB / 0.6261 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.5703, allocations: 1.032 MB / 0.6271 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5703, allocations: 8 kB / 0.6271 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5703, allocations: 4 kB / 0.6271 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.5703, allocations: 0 / 0.6271 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.5746, allocations: 2.216 MB / 0.6293 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5746, allocations: 3.938 kB / 0.6293 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.575, allocations: 79.95 kB / 0.6293 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.5751, allocations: 45.64 kB / 0.6294 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/0.5752, allocations: 19.98 kB / 0.6294 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.5778, allocations: 2.777 MB / 0.6321 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5778, allocations: 0 / 0.6321 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.5807, allocations: 1.993 MB / 0.6341 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/0.5821, allocations: 0.5337 MB / 0.6346 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006839/0.5828, allocations: 12 kB / 0.6346 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.5841, allocations: 27.91 kB / 0.6346 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.5843, allocations: 27.91 kB / 0.6347 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.5843, allocations: 19.98 kB / 0.6347 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006896/0.5912, allocations: 3.217 MB / 0.6378 GB, free: 9.117 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5912, allocations: 0 / 0.6378 GB, free: 9.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002738/0.594, allocations: 0.542 MB / 0.6383 GB, free: 8.574 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.003371/0.5973, allocations: 2.659 MB / 0.6409 GB, free: 5.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.5993, allocations: 1.02 MB / 0.6419 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5993, allocations: 4 kB / 0.6419 GB, free: 4.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008281/0.6001, allocations: 489.3 kB / 0.6424 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/0.605, allocations: 0.7995 MB / 0.6432 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05302/0.658, allocations: 30.14 MB / 0.6726 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/0.6609, allocations: 1.999 MB / 0.6746 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001446/0.6623, allocations: 401.1 kB / 0.675 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002188/0.6645, allocations: 1.378 MB / 0.6763 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of SimCode: time 1.703e-06/0.6645, allocations: 0 / 0.6763 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3653/1.03, allocations: 68.39 MB / 0.7431 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.26/22.29, allocations: 18.06 kB / 0.7431 GB, free: 177.4 MB / 0.5606 GB " [Timeout remaining time 638] (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: 25.25701660104096] Failed to read output from testmodel.py, exit status != 0: 22.430200763978064 22.447968443 21.972573282 Calling exit ...