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.001877/0.001877, allocations: 107.1 kB / 16.45 MB, free: 6.508 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.00244/0.00244, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.1636/0.1636, allocations: 23.85 MB / 332.7 MB, free: 12.39 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.001996/0.001996, allocations: 67.91 kB / 466 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4795, allocations: 59.82 MB / 0.5134 GB, free: 8.477 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.05233/0.5318, allocations: 29.4 MB / 0.5422 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01757/0.5494, allocations: 9.338 MB / 0.5513 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.5523, allocations: 23.88 kB / 0.5513 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004141/0.5564, allocations: 1.076 MB / 0.5524 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.5601, allocations: 0.8179 MB / 0.5532 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.5641, allocations: 0.9703 MB / 0.5541 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.5688, allocations: 1.998 MB / 0.5561 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.5698, allocations: 494.5 kB / 0.5565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.5719, allocations: 0.8059 MB / 0.5573 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.5737, allocations: 0.9533 MB / 0.5582 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.574, allocations: 220 kB / 0.5585 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005552/0.5795, allocations: 1.765 MB / 0.5602 GB, free: 11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008208/0.5803, allocations: 0.6559 MB / 0.5608 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.5819, allocations: 1.191 MB / 0.562 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.5932, allocations: 4.2 MB / 0.5661 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5932, allocations: 0 / 0.5661 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5932, allocations: 0 / 0.5661 GB, free: 5.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001102/0.5933, allocations: 4 kB / 0.5661 GB, free: 5.285 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.005822/0.5991, allocations: 2.636 MB / 0.5687 GB, free: 2.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.5992, allocations: 19.97 kB / 0.5687 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004411/0.5996, allocations: 325.9 kB / 0.569 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.6009, allocations: 446.9 kB / 0.5694 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.6029, allocations: 1.135 MB / 0.5705 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/0.6034, allocations: 311.8 kB / 0.5708 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003787/0.6038, allocations: 196.4 kB / 0.571 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.6165, allocations: 7.944 MB / 0.5788 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/0.6165, allocations: 4 kB / 0.5788 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.6167, allocations: 79.98 kB / 0.5788 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004511/0.6172, allocations: 344.7 kB / 0.5792 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.6351, allocations: 13.78 MB / 0.5926 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03556/0.6706, allocations: 20.02 MB / 0.6122 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005699/0.6763, allocations: 3.364 MB / 0.6155 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004146/0.6805, allocations: 2.725 MB / 0.6181 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003146/0.6836, allocations: 1.624 MB / 0.6197 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.6837, allocations: 55.48 kB / 0.6198 GB, free: 13.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.777e-06/0.6837, allocations: 0 / 0.6198 GB, free: 13.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04433/0.728, allocations: 16.76 MB / 0.6361 GB, free: 12.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01124/0.7393, allocations: 6.694 MB / 0.6427 GB, free: 5.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/0.7439, allocations: 2.935 MB / 0.6455 GB, free: 2.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005918/0.7445, allocations: 45.7 kB / 0.6456 GB, free: 2.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.7456, allocations: 0.931 MB / 0.6465 GB, free: 1.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009872/0.7466, allocations: 448.2 kB / 0.6469 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.7477, allocations: 398.8 kB / 0.6473 GB, free: 1.066 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.7479, allocations: 353.9 kB / 0.6476 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004869/0.7528, allocations: 3.337 MB / 0.6509 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005178/0.758, allocations: 3.508 MB / 0.6543 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03793/0.7959, allocations: 11 MB / 0.6651 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.7959, allocations: 0 / 0.6651 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01446/0.8104, allocations: 7.375 MB / 0.6723 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.8104, allocations: 8 kB / 0.6723 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.8104, allocations: 7.938 kB / 0.6723 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.812, allocations: 0.7851 MB / 0.6731 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/0.8173, allocations: 0.7961 MB / 0.6738 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/0.8344, allocations: 13.95 MB / 0.6875 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.8364, allocations: 47.97 kB / 0.6875 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005852/0.8369, allocations: 299.8 kB / 0.6878 GB, free: 6.699 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.001726/0.8387, allocations: 0.5951 MB / 0.6884 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007564/0.8394, allocations: 254.3 kB / 0.6886 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/0.8491, allocations: 3.653 MB / 0.6922 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.8491, allocations: 19.88 kB / 0.6922 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8491, allocations: 11.88 kB / 0.6922 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.8491, allocations: 11.97 kB / 0.6922 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.8615, allocations: 6.309 MB / 0.6984 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.8615, allocations: 8 kB / 0.6984 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/0.8643, allocations: 312.3 kB / 0.6987 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/0.8662, allocations: 364 kB / 0.699 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.8663, allocations: 35.97 kB / 0.6991 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.8777, allocations: 8.904 MB / 0.7078 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006651/0.8843, allocations: 3.978 MB / 0.7116 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007285/0.8916, allocations: 2.604 MB / 0.7142 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.8931, allocations: 443.4 kB / 0.7146 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/0.8936, allocations: 24.38 kB / 0.7146 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.8946, allocations: 39.97 kB / 0.7147 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004524/0.8951, allocations: 128.6 kB / 0.7148 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.285e-05/0.8952, allocations: 39.98 kB / 0.7148 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006375/0.9015, allocations: 3.677 MB / 0.7184 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9015, allocations: 0 / 0.7184 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003423/0.905, allocations: 0.7652 MB / 0.7192 GB, free: 5.125 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.007721/0.9127, allocations: 3.453 MB / 0.7225 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3103/1.223, allocations: 4.17 MB / 0.7266 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.223, allocations: 2.406 kB / 0.7266 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003084/1.226, allocations: 1.305 MB / 0.7279 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/1.23, allocations: 0.6467 MB / 0.7285 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0681/1.298, allocations: 48.23 MB / 0.7756 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.299, allocations: 1.623 MB / 0.7772 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001741/1.301, allocations: 0.5634 MB / 0.7778 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.302, allocations: 1.019 MB / 0.7788 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.302, allocations: 0 / 0.7788 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/1.456, allocations: 86.64 MB / 0.8634 GB, free: 65.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.14/20.59, allocations: 4 kB / 0.8634 GB, free: 65.48 MB / 0.5606 GB " [Timeout remaining time 639] (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: 23.791896873997757] Failed to read output from testmodel.py, exit status != 0: 20.739210321000428 20.757463987 20.16049055 Calling exit ...