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.001439/0.001439, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001564/0.001564, allocations: 222.3 kB / 22.25 MB, free: 5.102 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.801 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.88 MB / 336.3 MB, free: 10.95 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.001932/0.001932, allocations: 72.19 kB / 471.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2869, allocations: 59.86 MB / 0.5185 GB, free: 9.543 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.07059/0.3575, allocations: 28.43 MB / 0.5463 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.3705, allocations: 8.159 MB / 0.5542 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.3722, allocations: 23.88 kB / 0.5543 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.3753, allocations: 0.9777 MB / 0.5552 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.3779, allocations: 0.8091 MB / 0.556 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.3806, allocations: 0.9518 MB / 0.5569 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.3834, allocations: 2.012 MB / 0.5589 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006671/0.3841, allocations: 423.2 kB / 0.5593 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.3851, allocations: 0.7983 MB / 0.5601 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.3862, allocations: 0.9645 MB / 0.561 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.3864, allocations: 220 kB / 0.5612 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.3894, allocations: 1.187 MB / 0.5624 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.39, allocations: 0.6517 MB / 0.563 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009003/0.3909, allocations: 0.9063 MB / 0.5639 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.3961, allocations: 4.035 MB / 0.5679 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3961, allocations: 3.938 kB / 0.5679 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3961, allocations: 0 / 0.5679 GB, free: 7.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.736e-05/0.3962, allocations: 0 / 0.5679 GB, free: 7.324 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.004123/0.4003, allocations: 2.569 MB / 0.5704 GB, free: 4.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4003, allocations: 16.02 kB / 0.5704 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003542/0.4007, allocations: 317.9 kB / 0.5707 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.4025, allocations: 0.5379 MB / 0.5712 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.4044, allocations: 1.078 MB / 0.5723 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004028/0.4048, allocations: 367.2 kB / 0.5726 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.4051, allocations: 192.4 kB / 0.5728 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009669/0.4147, allocations: 8.335 MB / 0.5809 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.4148, allocations: 0 / 0.5809 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.4149, allocations: 83.92 kB / 0.581 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003802/0.4153, allocations: 344.7 kB / 0.5814 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.4307, allocations: 14.41 MB / 0.5954 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02807/0.4588, allocations: 19.69 MB / 0.6147 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004912/0.4637, allocations: 3.443 MB / 0.618 GB, free: 3.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003718/0.4674, allocations: 2.791 MB / 0.6207 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.4688, allocations: 0.579 MB / 0.6213 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4689, allocations: 51.48 kB / 0.6214 GB, free: 248 kB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.076e-06/0.4689, allocations: 0 / 0.6214 GB, free: 248 kB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.03941/0.5083, allocations: 16.76 MB / 0.6377 GB, free: 15.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009073/0.5174, allocations: 6.468 MB / 0.644 GB, free: 8.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.5212, allocations: 2.939 MB / 0.6469 GB, free: 5.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003932/0.5216, allocations: 45.7 kB / 0.647 GB, free: 5.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.5226, allocations: 0.931 MB / 0.6479 GB, free: 4.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005851/0.5232, allocations: 436.3 kB / 0.6483 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008976/0.5241, allocations: 406.7 kB / 0.6487 GB, free: 3.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5243, allocations: 349.9 kB / 0.649 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/0.5289, allocations: 3.438 MB / 0.6524 GB, free: 136 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004836/0.5337, allocations: 3.614 MB / 0.6559 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02573/0.5595, allocations: 10.26 MB / 0.6659 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5595, allocations: 8 kB / 0.6659 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01268/0.5722, allocations: 7.547 MB / 0.6733 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5722, allocations: 8 kB / 0.6733 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.5722, allocations: 7.938 kB / 0.6733 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.5735, allocations: 0.8085 MB / 0.6741 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004849/0.5784, allocations: 0.8078 MB / 0.6749 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/0.5936, allocations: 13.48 MB / 0.688 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.5951, allocations: 59.95 kB / 0.6881 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004743/0.5956, allocations: 295.8 kB / 0.6884 GB, free: 10.46 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.001258/0.5969, allocations: 0.5991 MB / 0.689 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/0.5975, allocations: 250.4 kB / 0.6892 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008822/0.6063, allocations: 3.727 MB / 0.6928 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.6063, allocations: 15.94 kB / 0.6929 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6063, allocations: 0 / 0.6929 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.6063, allocations: 11.92 kB / 0.6929 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.6172, allocations: 5.595 MB / 0.6983 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6172, allocations: 8 kB / 0.6983 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/0.6198, allocations: 327.6 kB / 0.6987 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.6216, allocations: 368 kB / 0.699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-05/0.6217, allocations: 27.98 kB / 0.699 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009786/0.6315, allocations: 8.266 MB / 0.7071 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005283/0.6368, allocations: 3.701 MB / 0.7107 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/0.6435, allocations: 2.718 MB / 0.7134 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/0.6445, allocations: 374.3 kB / 0.7137 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/0.6449, allocations: 24 kB / 0.7138 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.6459, allocations: 55.95 kB / 0.7138 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.6462, allocations: 128.5 kB / 0.7139 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.756e-05/0.6463, allocations: 39.98 kB / 0.714 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004839/0.6511, allocations: 3.673 MB / 0.7176 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6511, allocations: 0 / 0.7176 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002305/0.6534, allocations: 0.7613 MB / 0.7183 GB, free: 10.59 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.007359/0.6608, allocations: 3.572 MB / 0.7218 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006642/0.6674, allocations: 4.321 MB / 0.726 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6675, allocations: 0 / 0.726 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.6701, allocations: 1.352 MB / 0.7273 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.6729, allocations: 0.637 MB / 0.7279 GB, free: 480 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2528/0.9257, allocations: 48.96 MB / 0.7758 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008583/0.9266, allocations: 1.046 MB / 0.7768 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001457/0.928, allocations: 0.5594 MB / 0.7773 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.9293, allocations: 1.022 MB / 0.7783 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.9293, allocations: 0 / 0.7783 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/1.06, allocations: 94.17 MB / 0.8703 GB, free: 61.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.5, allocations: 7.094 kB / 0.8703 GB, free: 61.56 MB / 0.5606 GB " [Timeout remaining time 642] (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: 20.208604040002683] Failed to read output from testmodel.py, exit status != 0: 17.67522717799875 17.689755332 17.29070687 Calling exit ...