Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Processes.Tests.TestMembrane.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.001313/0.001313, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001496/0.001496, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 8.02 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.125/0.125, allocations: 23.86 MB / 336.3 MB, free: 11.21 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.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_Chemical_Processes_Tests_TestMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_Chemical_Processes_Tests_TestMembrane",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.001936/0.001936, allocations: 71.91 kB / 471.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2894, allocations: 59.85 MB / 0.5186 GB, free: 9.637 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66: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/Boundaries.mo:1328:7-1328:66: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.03724/0.3266, allocations: 29.58 MB / 0.5474 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.3399, allocations: 9.364 MB / 0.5566 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.3413, allocations: 27.88 kB / 0.5566 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.3443, allocations: 1.068 MB / 0.5577 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.347, allocations: 0.8132 MB / 0.5584 GB, free: 264 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.3499, allocations: 0.9363 MB / 0.5594 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003027/0.353, allocations: 2.012 MB / 0.5613 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000656/0.3536, allocations: 427.2 kB / 0.5617 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009521/0.3546, allocations: 0.797 MB / 0.5625 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.3559, allocations: 0.9566 MB / 0.5634 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.3562, allocations: 224 kB / 0.5637 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004175/0.3604, allocations: 1.763 MB / 0.5654 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006343/0.361, allocations: 0.6561 MB / 0.566 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.3623, allocations: 1.193 MB / 0.5672 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006397/0.3687, allocations: 4.196 MB / 0.5713 GB, free: 4.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3687, allocations: 4 kB / 0.5713 GB, free: 4.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3687, allocations: 0 / 0.5713 GB, free: 4.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.803e-05/0.3687, allocations: 0 / 0.5713 GB, free: 4.113 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: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.004129/0.3728, allocations: 2.573 MB / 0.5738 GB, free: 1.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3729, allocations: 11.97 kB / 0.5738 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003307/0.3732, allocations: 321.9 kB / 0.5741 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.3743, allocations: 454.9 kB / 0.5746 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.376, allocations: 1.07 MB / 0.5756 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/0.3763, allocations: 371.2 kB / 0.576 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.3766, allocations: 192.4 kB / 0.5761 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008828/0.3854, allocations: 8.303 MB / 0.5842 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.3854, allocations: 0 / 0.5842 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.3856, allocations: 79.98 kB / 0.5843 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003639/0.3859, allocations: 344.7 kB / 0.5847 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.4003, allocations: 14.39 MB / 0.5987 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02851/0.4288, allocations: 20.37 MB / 0.6186 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004823/0.4336, allocations: 3.4 MB / 0.6219 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00354/0.4372, allocations: 2.768 MB / 0.6246 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/0.4392, allocations: 0.6687 MB / 0.6253 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4393, allocations: 39.56 kB / 0.6253 GB, free: 12.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.925e-06/0.4393, allocations: 4 kB / 0.6253 GB, free: 12.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.03928/0.4785, allocations: 16.6 MB / 0.6415 GB, free: 11.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009263/0.4878, allocations: 6.569 MB / 0.6479 GB, free: 4.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/0.4916, allocations: 2.939 MB / 0.6508 GB, free: 2.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003654/0.492, allocations: 45.7 kB / 0.6509 GB, free: 1.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008655/0.4929, allocations: 0.931 MB / 0.6518 GB, free: 1.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000572/0.4934, allocations: 444.2 kB / 0.6522 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008644/0.4943, allocations: 394.8 kB / 0.6526 GB, free: 216 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4945, allocations: 353.9 kB / 0.6529 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004348/0.4988, allocations: 3.403 MB / 0.6562 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/0.5033, allocations: 3.583 MB / 0.6597 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0342/0.5375, allocations: 11.07 MB / 0.6705 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.5375, allocations: 4 kB / 0.6705 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01227/0.5498, allocations: 7.492 MB / 0.6779 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5498, allocations: 8.094 kB / 0.6779 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.5498, allocations: 7.938 kB / 0.6779 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.5511, allocations: 0.8046 MB / 0.6787 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/0.5557, allocations: 0.7961 MB / 0.6794 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.5711, allocations: 13.65 MB / 0.6928 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.5727, allocations: 47.97 kB / 0.6928 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005547/0.5733, allocations: 296 kB / 0.6931 GB, free: 5.926 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (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.001359/0.5747, allocations: 0.6105 MB / 0.6937 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006679/0.5753, allocations: 254.3 kB / 0.6939 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009203/0.5845, allocations: 3.668 MB / 0.6975 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.5846, allocations: 23.86 kB / 0.6975 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5846, allocations: 0 / 0.6975 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5846, allocations: 3.984 kB / 0.6975 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.5958, allocations: 6.374 MB / 0.7038 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.5958, allocations: 4 kB / 0.7038 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/0.5983, allocations: 316.1 kB / 0.7041 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.6002, allocations: 360 kB / 0.7044 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.6003, allocations: 35.98 kB / 0.7044 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009843/0.6101, allocations: 8.391 MB / 0.7126 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005643/0.6157, allocations: 3.783 MB / 0.7163 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/0.622, allocations: 2.624 MB / 0.7189 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008266/0.6229, allocations: 378.2 kB / 0.7193 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.6232, allocations: 27.95 kB / 0.7193 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/0.6242, allocations: 39.97 kB / 0.7193 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.6245, allocations: 128.6 kB / 0.7194 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/0.6245, allocations: 35.98 kB / 0.7195 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004944/0.6295, allocations: 3.677 MB / 0.7231 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6295, allocations: 0 / 0.7231 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002409/0.6319, allocations: 0.7613 MB / 0.7238 GB, free: 5.242 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 3 ($STATESET2.x,$STATESET1.x,d1.rear.n_flow) * Number of discrete variables: 2 ($cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007131/0.639, allocations: 3.469 MB / 0.7272 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.1994/0.8384, allocations: 4.253 MB / 0.7314 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.8384, allocations: 0 / 0.7314 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.8408, allocations: 1.304 MB / 0.7326 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.8436, allocations: 0.6433 MB / 0.7333 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05623/0.8998, allocations: 48.79 MB / 0.7809 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.9008, allocations: 1.632 MB / 0.7825 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001809/0.9027, allocations: 0.5599 MB / 0.783 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.9042, allocations: 1.019 MB / 0.784 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.9042, allocations: 0 / 0.784 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/1.051, allocations: 87.55 MB / 0.8695 GB, free: 63.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.25/19.3, allocations: 3.266 kB / 0.8695 GB, free: 63.16 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_Chemical.Processes.Tests.TestMembrane.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Processes.Tests.TestMembrane_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_Chemical_Processes_Tests_TestMembrane.fmu > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.934430474997498] Failed to read output from testmodel.py, exit status != 0: 19.455675582001277 19.464932192 19.094112146 Calling exit ...