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.0007407/0.0007407, 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.0007819/0.0007819, 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.8384/0.8384, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08451/0.08451, allocations: 17.45 MB / 276.6 MB, free: 11.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 411.6 MB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.007e-06/9.869e-06, allocations: 2.281 kB / 411.6 MB, free: 236 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:621:5-621: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:621:5-621: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.271/0.271, allocations: 33.45 MB / 445.1 MB, free: 43.7 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006547/0.2776, allocations: 5.999 MB / 451.1 MB, free: 43.49 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.2786, allocations: 53.56 kB / 451.1 MB, free: 43.47 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.2805, allocations: 1.33 MB / 452.4 MB, free: 43.05 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.2818, allocations: 1.237 MB / 453.7 MB, free: 42.44 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.2823, allocations: 473.9 kB / 454.1 MB, free: 42.23 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.2836, allocations: 3.039 MB / 457.2 MB, free: 40.72 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.2843, allocations: 1.001 MB / 458.2 MB, free: 40.26 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000781/0.2851, allocations: 1.832 MB / 460 MB, free: 39.54 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.2856, allocations: 0.9557 MB / 461 MB, free: 39.25 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.2858, allocations: 285.5 kB / 461.3 MB, free: 39.25 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.2866, allocations: 0.8503 MB / 462.1 MB, free: 39.13 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.2869, allocations: 0.9105 MB / 463 MB, free: 38.62 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.2874, allocations: 1.108 MB / 464.1 MB, free: 38.18 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.2895, allocations: 5.105 MB / 469.2 MB, free: 35.98 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2895, allocations: 3.938 kB / 469.2 MB, free: 35.98 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2895, allocations: 0 / 469.2 MB, free: 35.98 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.2895, allocations: 0 / 469.2 MB, free: 35.98 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.002113/0.2916, allocations: 3.869 MB / 473.1 MB, free: 33.55 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2916, allocations: 9.031 kB / 473.1 MB, free: 33.55 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/0.2919, allocations: 480.1 kB / 473.6 MB, free: 33.27 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.2923, allocations: 0.5135 MB / 474.1 MB, free: 33.02 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.2934, allocations: 1.437 MB / 475.5 MB, free: 32.06 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.2935, allocations: 247.7 kB / 475.8 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.2936, allocations: 322.8 kB / 476.1 MB, free: 31.84 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.2964, allocations: 4.768 MB / 480.9 MB, free: 29.11 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/0.2965, allocations: 25.55 kB / 480.9 MB, free: 29.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.2966, allocations: 142.8 kB / 481 MB, free: 29 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.2968, allocations: 347.4 kB / 481.4 MB, free: 28.93 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/0.2994, allocations: 3.593 MB / 484.9 MB, free: 27.48 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.008419/0.3079, allocations: 20.18 MB / 0.4933 GB, free: 11.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.3085, allocations: 0.7128 MB / 0.494 GB, free: 10.98 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.3089, allocations: 468.8 kB / 0.4944 GB, free: 10.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.3091, allocations: 82.08 kB / 0.4945 GB, free: 10.74 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.3091, allocations: 49.95 kB / 0.4946 GB, free: 10.69 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.3091, allocations: 2.656 kB / 0.4946 GB, free: 10.69 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.001707/0.3108, allocations: 1.732 MB / 0.4963 GB, free: 9.969 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3108, allocations: 300.9 kB / 0.4965 GB, free: 9.617 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/0.3142, allocations: 4.271 MB / 0.5007 GB, free: 8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3142, allocations: 32.33 kB / 0.5007 GB, free: 7.965 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.315, allocations: 1.786 MB / 0.5025 GB, free: 6.539 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.315, allocations: 118 kB / 0.5026 GB, free: 6.453 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3152, allocations: 167.9 kB / 0.5028 GB, free: 6.367 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.446e-05/0.3152, allocations: 338.1 kB / 0.5031 GB, free: 6.047 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.3156, allocations: 474.1 kB / 0.5035 GB, free: 5.879 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.3162, allocations: 0.8911 MB / 0.5044 GB, free: 5.129 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.3171, allocations: 1.419 MB / 0.5058 GB, free: 4.137 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3171, allocations: 8.875 kB / 0.5058 GB, free: 4.137 MB / 410.8 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00133/0.3185, allocations: 1.747 MB / 0.5075 GB, free: 3.391 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3185, allocations: 14.91 kB / 0.5075 GB, free: 3.387 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3185, allocations: 14.41 kB / 0.5075 GB, free: 3.387 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.3186, allocations: 66.22 kB / 0.5076 GB, free: 3.363 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.3189, allocations: 201.1 kB / 0.5078 GB, free: 3.344 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007569/0.3197, allocations: 2.586 MB / 0.5103 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.3202, allocations: 363.9 kB / 0.5107 GB, free: 0.5078 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.3203, allocations: 67.52 kB / 0.5107 GB, free: 0.4961 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (94): * Single equations (assignments): 92 * 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.0005755/0.3209, allocations: 0.7729 MB / 0.5115 GB, free: 28 kB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.3212, allocations: 389.8 kB / 0.5119 GB, free: 15.82 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.3222, allocations: 1.056 MB / 0.5129 GB, free: 15.43 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3222, allocations: 3.562 kB / 0.5129 GB, free: 15.43 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3222, allocations: 4.359 kB / 0.5129 GB, free: 15.43 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3222, allocations: 7.766 kB / 0.5129 GB, free: 15.43 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.3242, allocations: 1.834 MB / 0.5147 GB, free: 14.64 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3242, allocations: 2.969 kB / 0.5147 GB, free: 14.64 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.3244, allocations: 72.05 kB / 0.5148 GB, free: 14.63 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.421e-05/0.3244, allocations: 51.05 kB / 0.5148 GB, free: 14.61 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.3245, allocations: 11.12 kB / 0.5148 GB, free: 14.61 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3255, allocations: 2.562 MB / 0.5173 GB, free: 12.03 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.3255, allocations: 1.688 kB / 0.5173 GB, free: 12.03 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.3268, allocations: 2.048 MB / 0.5193 GB, free: 10.71 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.3272, allocations: 464.4 kB / 0.5198 GB, free: 10.4 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.3274, allocations: 17.88 kB / 0.5198 GB, free: 10.39 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.328, allocations: 21.53 kB / 0.5198 GB, free: 10.38 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.328, allocations: 37.52 kB / 0.5198 GB, free: 10.38 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.328, allocations: 12.28 kB / 0.5199 GB, free: 10.38 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002382/0.3304, allocations: 3.197 MB / 0.523 GB, free: 9.102 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.3304, allocations: 0 / 0.523 GB, free: 9.102 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0009539/0.3314, allocations: 0.569 MB / 0.5235 GB, free: 9.02 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.001487/0.3329, allocations: 2.725 MB / 0.5262 GB, free: 7.145 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.3337, allocations: 1.055 MB / 0.5272 GB, free: 6.633 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3337, allocations: 0 / 0.5272 GB, free: 6.633 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.334, allocations: 0.5043 MB / 0.5277 GB, free: 6.277 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.336, allocations: 0.7953 MB / 0.5285 GB, free: 5.898 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/0.3643, allocations: 30.23 MB / 0.558 GB, free: 12.09 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.3653, allocations: 1.446 MB / 0.5594 GB, free: 10.62 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0006204/0.3659, allocations: 401.4 kB / 0.5598 GB, free: 10.22 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009759/0.3669, allocations: 1.402 MB / 0.5612 GB, free: 8.816 MB / 458.8 MB Notification: Performance of SimCode: time 5.91e-07/0.3669, allocations: 3.938 kB / 0.5612 GB, free: 8.812 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06982/0.4367, allocations: 72.2 MB / 0.6317 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.801/9.238, allocations: 11.27 kB / 0.6317 GB, free: 1.027 MB / 0.5105 GB " [Timeout remaining time 651] (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: 11.168965380638838] Failed to read output from testmodel.py, exit status != 0: 9.488380732946098 9.494893021 9.204114326 Calling exit ...