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.001224/0.001224, 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.0014/0.0014, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.969 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.1317/0.1317, allocations: 23.9 MB / 336.3 MB, free: 11.13 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.001938/0.001938, allocations: 71.89 kB / 471.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2855, allocations: 59.87 MB / 0.5186 GB, free: 9.582 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.04114/0.3266, allocations: 34.73 MB / 0.5526 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.3387, allocations: 6.134 MB / 0.5585 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.342, allocations: 51.69 kB / 0.5586 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004242/0.3463, allocations: 1.281 MB / 0.5599 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.3489, allocations: 1.01 MB / 0.5608 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.35, allocations: 434.9 kB / 0.5613 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.3535, allocations: 2.656 MB / 0.5638 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.3549, allocations: 1.007 MB / 0.5648 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.3561, allocations: 1.146 MB / 0.5659 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.3574, allocations: 1.297 MB / 0.5672 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.3578, allocations: 280 kB / 0.5675 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.3602, allocations: 1.31 MB / 0.5688 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006505/0.3608, allocations: 0.8174 MB / 0.5696 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.3623, allocations: 1.775 MB / 0.5713 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005702/0.368, allocations: 5.136 MB / 0.5763 GB, free: 14.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.368, allocations: 0 / 0.5763 GB, free: 14.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.368, allocations: 0 / 0.5763 GB, free: 14.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.586e-05/0.3681, allocations: 3.938 kB / 0.5763 GB, free: 14.9 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.004725/0.3728, allocations: 3.787 MB / 0.58 GB, free: 11.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3728, allocations: 8.031 kB / 0.58 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004904/0.3733, allocations: 481.7 kB / 0.5805 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007214/0.374, allocations: 494.1 kB / 0.5809 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.3761, allocations: 1.436 MB / 0.5824 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.3763, allocations: 242.5 kB / 0.5826 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.3767, allocations: 316 kB / 0.5829 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005896/0.3826, allocations: 4.712 MB / 0.5875 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-05/0.3826, allocations: 19.81 kB / 0.5875 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.3828, allocations: 140 kB / 0.5876 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/0.3832, allocations: 349.8 kB / 0.588 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004759/0.388, allocations: 3.571 MB / 0.5915 GB, free: 14.86 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.01877/0.4067, allocations: 21.21 MB / 0.6122 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4078, allocations: 0.7091 MB / 0.6129 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.4085, allocations: 468.4 kB / 0.6133 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/0.4088, allocations: 85.56 kB / 0.6134 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4089, allocations: 46.5 kB / 0.6134 GB, free: 7.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.4089, allocations: 0 / 0.6134 GB, free: 7.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002812/0.4117, allocations: 1.715 MB / 0.6151 GB, free: 5.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.4118, allocations: 294.7 kB / 0.6154 GB, free: 5.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/0.4169, allocations: 4.232 MB / 0.6195 GB, free: 1.145 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.417, allocations: 33.7 kB / 0.6196 GB, free: 1.105 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.4185, allocations: 1.76 MB / 0.6213 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4186, allocations: 123 kB / 0.6214 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.4189, allocations: 154.6 kB / 0.6215 GB, free: 15.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.419, allocations: 334 kB / 0.6219 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/0.4197, allocations: 469.7 kB / 0.6223 GB, free: 14.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009804/0.4207, allocations: 0.8642 MB / 0.6232 GB, free: 13.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.4224, allocations: 1.398 MB / 0.6245 GB, free: 11.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4224, allocations: 7.938 kB / 0.6245 GB, free: 11.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002358/0.4248, allocations: 1.681 MB / 0.6262 GB, free: 9.895 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4248, allocations: 12 kB / 0.6262 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.4248, allocations: 23.88 kB / 0.6262 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.425, allocations: 57.69 kB / 0.6263 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.4256, allocations: 196 kB / 0.6264 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.4276, allocations: 2.601 MB / 0.629 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.4286, allocations: 364.6 kB / 0.6293 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.4287, allocations: 63.98 kB / 0.6294 GB, free: 6.352 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.0009705/0.4297, allocations: 0.7558 MB / 0.6301 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/0.4302, allocations: 361.6 kB / 0.6305 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.432, allocations: 1.059 MB / 0.6315 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.432, allocations: 7.938 kB / 0.6315 GB, free: 4.145 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.432, allocations: 4 kB / 0.6315 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.432, allocations: 4 kB / 0.6315 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.4348, allocations: 2.203 MB / 0.6337 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4348, allocations: 4 kB / 0.6337 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.4352, allocations: 75.89 kB / 0.6338 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/0.4353, allocations: 49.62 kB / 0.6338 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.4354, allocations: 16 kB / 0.6338 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.4375, allocations: 2.566 MB / 0.6363 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4375, allocations: 0 / 0.6363 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.4396, allocations: 2.024 MB / 0.6383 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/0.4403, allocations: 461.4 kB / 0.6387 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.4406, allocations: 8 kB / 0.6387 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/0.4415, allocations: 19.98 kB / 0.6388 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.4416, allocations: 43.83 kB / 0.6388 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.4416, allocations: 19.98 kB / 0.6388 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004033/0.4456, allocations: 3.181 MB / 0.6419 GB, free: 9.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4456, allocations: 0 / 0.6419 GB, free: 9.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001529/0.4472, allocations: 0.5304 MB / 0.6425 GB, free: 8.621 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.002552/0.4497, allocations: 2.703 MB / 0.6451 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.4513, allocations: 1.032 MB / 0.6461 GB, free: 4.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4513, allocations: 4.188 kB / 0.6461 GB, free: 4.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.4521, allocations: 0.505 MB / 0.6466 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/0.4561, allocations: 0.7994 MB / 0.6474 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04104/0.4972, allocations: 29.98 MB / 0.6767 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.499, allocations: 1.991 MB / 0.6786 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001134/0.5002, allocations: 404.8 kB / 0.679 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/0.5018, allocations: 1.374 MB / 0.6803 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.5018, allocations: 0 / 0.6803 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3576/0.8593, allocations: 68.44 MB / 0.7472 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.07/19.93, allocations: 6.312 kB / 0.7472 GB, free: 177.6 MB / 0.5606 GB " [Timeout remaining time 640] (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: 22.550794416005374] Failed to read output from testmodel.py, exit status != 0: 20.07721280700207 20.087832089 19.71769367 Calling exit ...