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.001576/0.001576, 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.002099/0.002099, allocations: 219.8 kB / 22.25 MB, free: 5.258 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.82 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.1423/0.1423, allocations: 23.93 MB / 336.4 MB, free: 10.95 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.001895/0.001895, allocations: 59.91 kB / 471.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.328, allocations: 59.87 MB / 0.5186 GB, free: 9.547 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:620:5-620: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:620:5-620: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.07782/0.4058, allocations: 32.67 MB / 0.5505 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.4184, allocations: 5.539 MB / 0.5559 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.4216, allocations: 47.69 kB / 0.556 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004321/0.4259, allocations: 1.195 MB / 0.5571 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.4301, allocations: 1.013 MB / 0.5581 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.4319, allocations: 430.3 kB / 0.5585 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005651/0.4375, allocations: 2.665 MB / 0.5611 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.4393, allocations: 1.007 MB / 0.5621 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.4412, allocations: 1.146 MB / 0.5632 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.4432, allocations: 1.289 MB / 0.5645 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.4439, allocations: 280 kB / 0.5648 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.4462, allocations: 0.7487 MB / 0.5655 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.4471, allocations: 0.8152 MB / 0.5663 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.4489, allocations: 1.319 MB / 0.5676 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007373/0.4563, allocations: 4.995 MB / 0.5725 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4563, allocations: 0 / 0.5725 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4563, allocations: 0 / 0.5725 GB, free: 2.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001414/0.4565, allocations: 0 / 0.5725 GB, free: 2.621 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.006171/0.4626, allocations: 3.787 MB / 0.5761 GB, free: 14.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4627, allocations: 15.97 kB / 0.5762 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006118/0.4633, allocations: 477.7 kB / 0.5766 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/0.4642, allocations: 494.1 kB / 0.5771 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.4668, allocations: 1.428 MB / 0.5785 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.467, allocations: 250.5 kB / 0.5787 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/0.4674, allocations: 312 kB / 0.579 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007231/0.4746, allocations: 4.704 MB / 0.5836 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.22e-05/0.4747, allocations: 27.75 kB / 0.5836 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.475, allocations: 144 kB / 0.5838 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003999/0.4754, allocations: 345.8 kB / 0.5841 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005563/0.4809, allocations: 3.571 MB / 0.5876 GB, free: 2.578 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.02268/0.5036, allocations: 19.93 MB / 0.6071 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5048, allocations: 0.7129 MB / 0.6078 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.5055, allocations: 472.4 kB / 0.6082 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003703/0.5059, allocations: 81.56 kB / 0.6083 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.5059, allocations: 46.44 kB / 0.6083 GB, free: 12.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.5059, allocations: 0 / 0.6083 GB, free: 12.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003239/0.5092, allocations: 1.711 MB / 0.61 GB, free: 10.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.5093, allocations: 294.8 kB / 0.6103 GB, free: 10.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005987/0.5153, allocations: 4.259 MB / 0.6144 GB, free: 6.211 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.5154, allocations: 29.7 kB / 0.6145 GB, free: 6.176 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.5171, allocations: 1.763 MB / 0.6162 GB, free: 4.402 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.5173, allocations: 119.1 kB / 0.6163 GB, free: 4.285 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.5175, allocations: 162.5 kB / 0.6165 GB, free: 4.121 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5177, allocations: 333.9 kB / 0.6168 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.5184, allocations: 458.3 kB / 0.6172 GB, free: 3.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.5195, allocations: 0.8681 MB / 0.6181 GB, free: 2.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.5213, allocations: 1.399 MB / 0.6194 GB, free: 0.668 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.5213, allocations: 7.938 kB / 0.6194 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002948/0.5243, allocations: 1.68 MB / 0.6211 GB, free: 14.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.5243, allocations: 15.98 kB / 0.6211 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.5243, allocations: 12 kB / 0.6211 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.5246, allocations: 57.7 kB / 0.6212 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.5251, allocations: 195.9 kB / 0.6213 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.5273, allocations: 2.597 MB / 0.6239 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5288, allocations: 364.9 kB / 0.6242 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.5289, allocations: 63.98 kB / 0.6243 GB, free: 11.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (90): * Single equations (assignments): 88 * 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.001456/0.5303, allocations: 0.7592 MB / 0.625 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/0.531, allocations: 357.6 kB / 0.6254 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.5331, allocations: 1.071 MB / 0.6264 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5332, allocations: 8 kB / 0.6264 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.5332, allocations: 4 kB / 0.6264 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5332, allocations: 0 / 0.6264 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.5364, allocations: 1.809 MB / 0.6282 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.5364, allocations: 0 / 0.6282 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.5367, allocations: 79.83 kB / 0.6283 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.5369, allocations: 45.69 kB / 0.6283 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.5369, allocations: 19.98 kB / 0.6283 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.539, allocations: 2.555 MB / 0.6308 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.539, allocations: 4.031 kB / 0.6308 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.5415, allocations: 2.028 MB / 0.6328 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.5426, allocations: 461.4 kB / 0.6333 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.5429, allocations: 11.98 kB / 0.6333 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.5438, allocations: 19.98 kB / 0.6333 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.5439, allocations: 31.89 kB / 0.6333 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.5439, allocations: 19.98 kB / 0.6333 GB, free: 1.816 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005062/0.549, allocations: 3.181 MB / 0.6364 GB, free: 14.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.549, allocations: 3.938 kB / 0.6364 GB, free: 14.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002108/0.5511, allocations: 0.542 MB / 0.637 GB, free: 14.09 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.002917/0.554, allocations: 2.694 MB / 0.6396 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.5558, allocations: 1.043 MB / 0.6406 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5558, allocations: 4.062 kB / 0.6406 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007437/0.5565, allocations: 0.4971 MB / 0.6411 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/0.5604, allocations: 0.7997 MB / 0.6419 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04671/0.6071, allocations: 29.93 MB / 0.6711 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.6089, allocations: 1.44 MB / 0.6725 GB, free: 8.852 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001335/0.6103, allocations: 404.8 kB / 0.6729 GB, free: 8.453 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/0.612, allocations: 1.378 MB / 0.6743 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of SimCode: time 1.042e-06/0.612, allocations: 0 / 0.6743 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3762/0.9883, allocations: 72.38 MB / 0.7449 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.55, allocations: 7.391 kB / 0.745 GB, free: 177.6 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.545320371020352] Failed to read output from testmodel.py, exit status != 0: 17.708040679019177 17.721325903 17.262266928 Calling exit ...