Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001394/0.001394, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001522/0.001522, allocations: 215 kB / 20.13 MB, free: 2.949 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1442/0.1442, allocations: 23.89 MB / 333.4 MB, free: 1.172 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_TestMembrane",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_TestMembrane",fmuType="cs",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.001944/0.001944, allocations: 64.19 kB / 466.7 MB, free: 30.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1069, allocations: 59.85 MB / 0.5142 GB, free: 12.93 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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 master/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 master/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.04247/0.1494, allocations: 29.37 MB / 0.5429 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1628, allocations: 9.345 MB / 0.552 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.1641, allocations: 27.88 kB / 0.552 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.1673, allocations: 1.076 MB / 0.5531 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.1698, allocations: 0.8184 MB / 0.5539 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.1725, allocations: 0.9683 MB / 0.5548 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.1756, allocations: 1.996 MB / 0.5568 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007659/0.1764, allocations: 494.8 kB / 0.5573 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.1773, allocations: 0.8056 MB / 0.5581 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.1785, allocations: 0.961 MB / 0.559 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.1788, allocations: 220 kB / 0.5592 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.1828, allocations: 1.763 MB / 0.5609 GB, free: 13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007209/0.1835, allocations: 0.6542 MB / 0.5616 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.1849, allocations: 1.189 MB / 0.5627 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006766/0.1917, allocations: 4.2 MB / 0.5668 GB, free: 6.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1917, allocations: 4 kB / 0.5668 GB, free: 6.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1917, allocations: 0 / 0.5668 GB, free: 6.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.903e-05/0.1917, allocations: 3.938 kB / 0.5668 GB, free: 6.93 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: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.005032/0.1968, allocations: 2.643 MB / 0.5694 GB, free: 4.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1968, allocations: 8.031 kB / 0.5694 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.64e-05/0.1969, allocations: 56.09 kB / 0.5695 GB, free: 4.164 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003901/0.1973, allocations: 325.9 kB / 0.5698 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.1984, allocations: 450.9 kB / 0.5702 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.2002, allocations: 1.135 MB / 0.5713 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.2006, allocations: 307.8 kB / 0.5716 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/0.2009, allocations: 196.1 kB / 0.5718 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009851/0.2107, allocations: 7.936 MB / 0.5796 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.2108, allocations: 0 / 0.5796 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.2109, allocations: 79.98 kB / 0.5796 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004021/0.2113, allocations: 348.7 kB / 0.58 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2505/0.4618, allocations: 13.79 MB / 0.5934 GB, free: 64.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02641/0.4882, allocations: 20 MB / 0.613 GB, free: 55.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.4919, allocations: 3.371 MB / 0.6162 GB, free: 53.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.4944, allocations: 2.725 MB / 0.6189 GB, free: 51.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/0.4964, allocations: 1.627 MB / 0.6205 GB, free: 49.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4964, allocations: 47.5 kB / 0.6205 GB, free: 49.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=94): time 4.148e-06/0.4964, allocations: 1.078 kB / 0.6205 GB, free: 49.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=122): time 0.03413/0.5305, allocations: 16.78 MB / 0.6369 GB, free: 32.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00708/0.5376, allocations: 6.69 MB / 0.6435 GB, free: 25.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.5405, allocations: 2.929 MB / 0.6463 GB, free: 22.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005136/0.541, allocations: 49.7 kB / 0.6464 GB, free: 22.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/0.5416, allocations: 0.934 MB / 0.6473 GB, free: 21.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004937/0.5421, allocations: 438.6 kB / 0.6477 GB, free: 21.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008312/0.5429, allocations: 398.8 kB / 0.6481 GB, free: 21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.543, allocations: 357.9 kB / 0.6484 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/0.546, allocations: 3.329 MB / 0.6517 GB, free: 17.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/0.5492, allocations: 3.513 MB / 0.6551 GB, free: 13.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03025/0.5795, allocations: 11.01 MB / 0.6659 GB, free: 2.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.5795, allocations: 0 / 0.6659 GB, free: 2.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01169/0.5912, allocations: 7.372 MB / 0.6731 GB, free: 11.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.5912, allocations: 8 kB / 0.6731 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.5912, allocations: 7.984 kB / 0.6731 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.5926, allocations: 0.7785 MB / 0.6738 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005042/0.5977, allocations: 0.7973 MB / 0.6746 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/0.6136, allocations: 13.97 MB / 0.6883 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.6154, allocations: 43.97 kB / 0.6883 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/0.6159, allocations: 295.9 kB / 0.6886 GB, free: 10.89 MB / 478.1 MB 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.001396/0.6172, allocations: 0.5986 MB / 0.6892 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006816/0.6179, allocations: 257 kB / 0.6894 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009308/0.6272, allocations: 3.654 MB / 0.693 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.6272, allocations: 12 kB / 0.693 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6273, allocations: 4 kB / 0.693 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.6273, allocations: 13.88 kB / 0.693 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.6383, allocations: 6.325 MB / 0.6992 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.6383, allocations: 12 kB / 0.6992 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/0.641, allocations: 313 kB / 0.6995 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.6429, allocations: 362.6 kB / 0.6998 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.643, allocations: 31.98 kB / 0.6999 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.6536, allocations: 8.897 MB / 0.7086 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005757/0.6594, allocations: 3.984 MB / 0.7124 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006694/0.6661, allocations: 2.595 MB / 0.715 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000994/0.6671, allocations: 443.4 kB / 0.7154 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/0.6676, allocations: 27.95 kB / 0.7154 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.6686, allocations: 39.97 kB / 0.7155 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.669, allocations: 126 kB / 0.7156 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.503e-05/0.669, allocations: 40.34 kB / 0.7156 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005163/0.6742, allocations: 3.673 MB / 0.7192 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6742, allocations: 0 / 0.7192 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002762/0.677, allocations: 0.7652 MB / 0.72 GB, free: 9.527 MB / 0.4981 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.007529/0.6845, allocations: 3.458 MB / 0.7233 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006669/0.6912, allocations: 4.177 MB / 0.7274 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.6912, allocations: 0 / 0.7274 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002663/0.6938, allocations: 1.308 MB / 0.7287 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.6971, allocations: 0.6476 MB / 0.7293 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07033/0.7675, allocations: 48.23 MB / 0.7764 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.7689, allocations: 1.635 MB / 0.778 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001801/0.7707, allocations: 0.5499 MB / 0.7786 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/0.7726, allocations: 1.019 MB / 0.7795 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of SimCode: time 6.12e-07/0.7726, allocations: 0 / 0.7795 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3709/1.143, allocations: 86.68 MB / 0.8642 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.07/20.21, allocations: 17.48 kB / 0.8642 GB, free: 161.7 MB / 0.5762 GB " [Timeout remaining time 640] (rm -f Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.TestMembrane.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Processes_Tests_TestMembrane_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Processes_Tests_TestMembrane.fmu > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.238578189047985] Failed to read output from testmodel.py, exit status != 0: 20.41600929305423 20.431243733 20.236319622 Calling exit ...