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.0009208/0.0009208, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001123/0.001123, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9879/0.9879, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.1001/0.1001, allocations: 17.37 MB / 276.6 MB, free: 11.86 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 411.4 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.626e-05, allocations: 2.281 kB / 411.4 MB, free: 408 kB / 378.7 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.3825/0.3826, allocations: 33 MB / 444.4 MB, free: 43.75 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008306/0.3909, allocations: 5.604 MB / 450 MB, free: 43.53 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/0.3936, allocations: 46.47 kB / 450.1 MB, free: 43.51 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.3974, allocations: 1.267 MB / 451.4 MB, free: 43.12 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.4014, allocations: 1.015 MB / 452.4 MB, free: 42.65 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.403, allocations: 434 kB / 452.8 MB, free: 42.46 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.003969/0.407, allocations: 2.746 MB / 455.5 MB, free: 41.05 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.408, allocations: 0.9907 MB / 456.5 MB, free: 40.59 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.4098, allocations: 1.682 MB / 458.2 MB, free: 39.91 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00082/0.4106, allocations: 0.8499 MB / 459.1 MB, free: 39.62 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.4109, allocations: 280.1 kB / 459.3 MB, free: 39.62 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.4127, allocations: 0.7562 MB / 460.1 MB, free: 39.52 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.4131, allocations: 0.8275 MB / 460.9 MB, free: 39.04 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0009393/0.414, allocations: 1.046 MB / 462 MB, free: 38.59 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.4198, allocations: 4.931 MB / 466.9 MB, free: 36.57 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.4198, allocations: 0 / 466.9 MB, free: 36.57 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.669e-06/0.4198, allocations: 3.562 kB / 466.9 MB, free: 36.57 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002262/0.42, allocations: 3.188 kB / 466.9 MB, free: 36.57 MB / 410.8 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.00495/0.425, allocations: 3.757 MB / 470.7 MB, free: 34.23 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/0.425, allocations: 12.44 kB / 470.7 MB, free: 34.23 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004278/0.4254, allocations: 478 kB / 471.1 MB, free: 33.96 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006348/0.4261, allocations: 493.7 kB / 471.6 MB, free: 33.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.428, allocations: 1.431 MB / 473.1 MB, free: 32.78 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.4282, allocations: 246.5 kB / 473.3 MB, free: 32.67 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.4284, allocations: 314.3 kB / 473.6 MB, free: 32.57 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/0.4331, allocations: 4.719 MB / 478.3 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.663e-05/0.4331, allocations: 21.41 kB / 478.3 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.4333, allocations: 137.2 kB / 478.5 MB, free: 29.77 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.4335, allocations: 350.8 kB / 478.8 MB, free: 29.7 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/0.4376, allocations: 3.571 MB / 482.4 MB, free: 28.27 MB / 410.8 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.01831/0.4559, allocations: 19.91 MB / 0.4905 GB, free: 12.46 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.4571, allocations: 0.7036 MB / 0.4912 GB, free: 12.03 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.4577, allocations: 474 kB / 0.4917 GB, free: 11.79 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.4581, allocations: 78.22 kB / 0.4917 GB, free: 11.78 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.4581, allocations: 54.16 kB / 0.4918 GB, free: 11.73 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 5.63e-06/0.4581, allocations: 0 / 0.4918 GB, free: 11.73 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.004012/0.4621, allocations: 1.725 MB / 0.4935 GB, free: 10.99 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.4622, allocations: 294 kB / 0.4938 GB, free: 10.64 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008045/0.4703, allocations: 4.323 MB / 0.498 GB, free: 9.016 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.4704, allocations: 31.08 kB / 0.498 GB, free: 8.98 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.4717, allocations: 1.754 MB / 0.4997 GB, free: 7.574 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.4719, allocations: 120.6 kB / 0.4998 GB, free: 7.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.4722, allocations: 151.5 kB / 0.5 GB, free: 7.406 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.4723, allocations: 335.3 kB / 0.5003 GB, free: 7.09 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.473, allocations: 464.2 kB / 0.5007 GB, free: 6.926 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008499/0.4739, allocations: 0.8445 MB / 0.5016 GB, free: 6.238 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.4754, allocations: 1.358 MB / 0.5029 GB, free: 5.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.4754, allocations: 4.125 kB / 0.5029 GB, free: 5.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003414/0.4788, allocations: 1.676 MB / 0.5045 GB, free: 4.586 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.4789, allocations: 11.52 kB / 0.5045 GB, free: 4.586 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/0.4789, allocations: 13.75 kB / 0.5046 GB, free: 4.586 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.4792, allocations: 63.92 kB / 0.5046 GB, free: 4.559 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.4796, allocations: 194.8 kB / 0.5048 GB, free: 4.539 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.4811, allocations: 2.578 MB / 0.5073 GB, free: 1.969 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.4834, allocations: 370.9 kB / 0.5077 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.4835, allocations: 60.8 kB / 0.5077 GB, free: 1.699 MB / 410.8 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.00157/0.4851, allocations: 0.7611 MB / 0.5085 GB, free: 1.23 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006735/0.4858, allocations: 360.3 kB / 0.5088 GB, free: 1.027 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.4876, allocations: 1.065 MB / 0.5099 GB, free: 0.6211 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4876, allocations: 13.66 kB / 0.5099 GB, free: 0.6172 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4876, allocations: 3.625 kB / 0.5099 GB, free: 0.6172 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4876, allocations: 5.391 kB / 0.5099 GB, free: 0.6172 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.4911, allocations: 1.802 MB / 0.5116 GB, free: 15.84 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4911, allocations: 0 / 0.5116 GB, free: 15.84 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.4913, allocations: 76.89 kB / 0.5117 GB, free: 15.84 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.4915, allocations: 50.69 kB / 0.5118 GB, free: 15.81 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.4915, allocations: 12.31 kB / 0.5118 GB, free: 15.81 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.4931, allocations: 2.554 MB / 0.5143 GB, free: 13.25 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4931, allocations: 7.141 kB / 0.5143 GB, free: 13.25 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.4949, allocations: 2.031 MB / 0.5163 GB, free: 11.92 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.496, allocations: 473.9 kB / 0.5167 GB, free: 11.6 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.4963, allocations: 11.39 kB / 0.5167 GB, free: 11.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.4969, allocations: 19.94 kB / 0.5167 GB, free: 11.59 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.497, allocations: 43.55 kB / 0.5168 GB, free: 11.58 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.497, allocations: 9.703 kB / 0.5168 GB, free: 11.58 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.004352/0.5014, allocations: 3.243 MB / 0.52 GB, free: 10.29 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5014, allocations: 3.938 kB / 0.52 GB, free: 10.29 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.001864/0.5032, allocations: 0.5271 MB / 0.5205 GB, free: 10.21 MB / 426.8 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.002421/0.5057, allocations: 2.698 MB / 0.5231 GB, free: 8.324 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.507, allocations: 1.034 MB / 0.5241 GB, free: 7.836 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.507, allocations: 0 / 0.5241 GB, free: 7.836 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.5075, allocations: 0.5093 MB / 0.5246 GB, free: 7.516 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.5108, allocations: 0.8183 MB / 0.5254 GB, free: 7.281 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04863/0.5594, allocations: 30.45 MB / 0.5552 GB, free: 14.69 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.5609, allocations: 1.447 MB / 0.5566 GB, free: 13.25 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.001394/0.5623, allocations: 398.1 kB / 0.5569 GB, free: 12.89 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.5637, allocations: 1.383 MB / 0.5583 GB, free: 11.5 MB / 458.8 MB Notification: Performance of SimCode: time 2.325e-06/0.5637, allocations: 6.562 kB / 0.5583 GB, free: 11.5 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/0.685, allocations: 73.23 MB / 0.6298 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.38, allocations: 4.062 kB / 0.6298 GB, free: 3.012 MB / 0.5105 GB " [Timeout remaining time 648] (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: 13.746662783436477] Failed to read output from testmodel.py, exit status != 0: 11.506668464280665 11.693629033 11.272221758 Calling exit ...