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.001468/0.001468, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001667/0.001667, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.953 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.1294/0.1294, allocations: 23.84 MB / 336.3 MB, free: 11.16 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.002005/0.002005, allocations: 67.91 kB / 471.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2932, allocations: 59.86 MB / 0.5186 GB, free: 9.559 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.04585/0.339, allocations: 34.71 MB / 0.5525 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.3503, allocations: 6.215 MB / 0.5585 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.3531, allocations: 43.75 kB / 0.5586 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004552/0.3577, allocations: 1.345 MB / 0.5599 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.3617, allocations: 0.9568 MB / 0.5608 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3634, allocations: 434.6 kB / 0.5613 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005246/0.3687, allocations: 2.627 MB / 0.5638 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.3702, allocations: 0.9993 MB / 0.5648 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.3716, allocations: 1.096 MB / 0.5659 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.3734, allocations: 1.299 MB / 0.5671 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004159/0.3738, allocations: 284 kB / 0.5674 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.3768, allocations: 1.347 MB / 0.5687 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000791/0.3775, allocations: 0.8174 MB / 0.5695 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.3793, allocations: 1.776 MB / 0.5712 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006465/0.3858, allocations: 5.183 MB / 0.5763 GB, free: 14.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3858, allocations: 4 kB / 0.5763 GB, free: 14.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3858, allocations: 0 / 0.5763 GB, free: 14.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.263e-05/0.3859, allocations: 3.938 kB / 0.5763 GB, free: 14.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.005117/0.391, allocations: 3.799 MB / 0.58 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.391, allocations: 8.031 kB / 0.58 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005163/0.3915, allocations: 477.7 kB / 0.5805 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007726/0.3923, allocations: 494.1 kB / 0.581 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.3948, allocations: 1.428 MB / 0.5824 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.395, allocations: 246.5 kB / 0.5826 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/0.3954, allocations: 319.9 kB / 0.5829 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006141/0.4015, allocations: 4.712 MB / 0.5875 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/0.4016, allocations: 19.81 kB / 0.5875 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.4018, allocations: 144 kB / 0.5877 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000361/0.4022, allocations: 349.8 kB / 0.588 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00519/0.4074, allocations: 3.567 MB / 0.5915 GB, free: 14.8 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.02255/0.4299, allocations: 21.24 MB / 0.6122 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.4311, allocations: 0.7169 MB / 0.6129 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.4318, allocations: 468.4 kB / 0.6134 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000396/0.4322, allocations: 81.56 kB / 0.6134 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.4322, allocations: 54.48 kB / 0.6135 GB, free: 7.387 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.4322, allocations: 0 / 0.6135 GB, free: 7.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003239/0.4355, allocations: 1.724 MB / 0.6152 GB, free: 5.648 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.4356, allocations: 294.7 kB / 0.6155 GB, free: 5.293 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005944/0.4416, allocations: 4.302 MB / 0.6197 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.217e-05/0.4417, allocations: 33.7 kB / 0.6197 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.4433, allocations: 1.764 MB / 0.6214 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.4435, allocations: 111.1 kB / 0.6215 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.4437, allocations: 154.6 kB / 0.6217 GB, free: 14.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4439, allocations: 334 kB / 0.622 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/0.4446, allocations: 465.8 kB / 0.6224 GB, free: 14.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009907/0.4456, allocations: 0.8407 MB / 0.6232 GB, free: 13.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.4474, allocations: 1.359 MB / 0.6246 GB, free: 11.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4474, allocations: 7.938 kB / 0.6246 GB, free: 11.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003207/0.4506, allocations: 1.672 MB / 0.6262 GB, free: 9.832 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.4506, allocations: 8 kB / 0.6262 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.4506, allocations: 16.84 kB / 0.6262 GB, free: 9.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.4509, allocations: 65.69 kB / 0.6263 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.4515, allocations: 191.7 kB / 0.6265 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.4535, allocations: 2.59 MB / 0.629 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4551, allocations: 368.6 kB / 0.6294 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4552, allocations: 60 kB / 0.6294 GB, free: 6.309 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.001272/0.4565, allocations: 0.7635 MB / 0.6302 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/0.4571, allocations: 357.6 kB / 0.6305 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.459, allocations: 1.068 MB / 0.6316 GB, free: 4.098 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.459, allocations: 11.94 kB / 0.6316 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.459, allocations: 0 / 0.6316 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4591, allocations: 4 kB / 0.6316 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.4625, allocations: 2.204 MB / 0.6337 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.4625, allocations: 4 kB / 0.6337 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.4629, allocations: 83.77 kB / 0.6338 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.4631, allocations: 49.62 kB / 0.6339 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.4631, allocations: 16 kB / 0.6339 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.4652, allocations: 2.567 MB / 0.6364 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4652, allocations: 7.922 kB / 0.6364 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.4677, allocations: 2.04 MB / 0.6384 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.4688, allocations: 473.4 kB / 0.6388 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.4691, allocations: 11.95 kB / 0.6388 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/0.47, allocations: 23.98 kB / 0.6389 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4701, allocations: 39.81 kB / 0.6389 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.4701, allocations: 12 kB / 0.6389 GB, free: 12.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004666/0.4748, allocations: 3.241 MB / 0.6421 GB, free: 8.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4748, allocations: 4 kB / 0.6421 GB, free: 8.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001788/0.4766, allocations: 0.5188 MB / 0.6426 GB, free: 8.473 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.002753/0.4793, allocations: 2.712 MB / 0.6452 GB, free: 5.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.4811, allocations: 1.035 MB / 0.6462 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4811, allocations: 0 / 0.6462 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.4819, allocations: 0.4932 MB / 0.6467 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/0.4861, allocations: 0.8313 MB / 0.6475 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04449/0.5306, allocations: 30.35 MB / 0.6772 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.5325, allocations: 1.991 MB / 0.6791 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001251/0.5338, allocations: 401.3 kB / 0.6795 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/0.5355, allocations: 1.382 MB / 0.6809 GB, free: 500 kB / 0.5137 GB Notification: Performance of SimCode: time 1.402e-06/0.5355, allocations: 3.938 kB / 0.6809 GB, free: 496 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/0.8664, allocations: 69.52 MB / 0.7488 GB, free: 169 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.6/20.46, allocations: 9.219 kB / 0.7488 GB, free: 169 MB / 0.5606 GB " [Timeout remaining time 639] (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: 23.13298516500072] Failed to read output from testmodel.py, exit status != 0: 20.617763189999096 20.635008576 20.245900415 Calling exit ...