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.001625/0.001625, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001923/0.001923, allocations: 219.4 kB / 23.04 MB, free: 5.078 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.1405/0.1405, allocations: 23.88 MB / 337.1 MB, free: 11.16 MB / 270.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.001927/0.001927, allocations: 67.89 kB / 472 MB, free: 7.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3212, allocations: 59.86 MB / 0.5194 GB, free: 9.621 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.04283/0.364, allocations: 29.41 MB / 0.5481 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.3789, allocations: 9.356 MB / 0.5572 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.381, allocations: 23.88 kB / 0.5573 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005038/0.3861, allocations: 1.075 MB / 0.5583 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.3909, allocations: 0.8283 MB / 0.5591 GB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.3946, allocations: 0.9618 MB / 0.5601 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00375/0.3984, allocations: 2.008 MB / 0.562 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007525/0.3991, allocations: 422.8 kB / 0.5624 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.4004, allocations: 0.7974 MB / 0.5632 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.4017, allocations: 0.9609 MB / 0.5641 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.402, allocations: 220 kB / 0.5643 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004441/0.4064, allocations: 1.763 MB / 0.5661 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006274/0.407, allocations: 0.6622 MB / 0.5667 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.4082, allocations: 1.189 MB / 0.5679 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006174/0.4144, allocations: 4.2 MB / 0.572 GB, free: 4.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4144, allocations: 0 / 0.572 GB, free: 4.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4144, allocations: 4 kB / 0.572 GB, free: 4.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.94e-05/0.4144, allocations: 0 / 0.572 GB, free: 4.199 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.004275/0.4187, allocations: 2.577 MB / 0.5745 GB, free: 1.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4187, allocations: 8.031 kB / 0.5745 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.47e-05/0.4188, allocations: 56.09 kB / 0.5746 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003619/0.4192, allocations: 325.9 kB / 0.5749 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.4203, allocations: 442.9 kB / 0.5753 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.422, allocations: 1.078 MB / 0.5763 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003846/0.4224, allocations: 371.2 kB / 0.5767 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.4227, allocations: 196.1 kB / 0.5769 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009595/0.4323, allocations: 8.304 MB / 0.585 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.4323, allocations: 0 / 0.585 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.4325, allocations: 79.98 kB / 0.5851 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003954/0.4329, allocations: 348.7 kB / 0.5854 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/0.4487, allocations: 14.39 MB / 0.5995 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03191/0.4806, allocations: 20.36 MB / 0.6193 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.4859, allocations: 3.4 MB / 0.6227 GB, free: 8 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003841/0.4897, allocations: 2.764 MB / 0.6254 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/0.4918, allocations: 0.6726 MB / 0.626 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.4918, allocations: 47.56 kB / 0.6261 GB, free: 12.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.136e-06/0.4918, allocations: 0 / 0.6261 GB, free: 12.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04148/0.5333, allocations: 16.58 MB / 0.6423 GB, free: 11.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01047/0.5438, allocations: 6.596 MB / 0.6487 GB, free: 5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004633/0.5484, allocations: 2.935 MB / 0.6516 GB, free: 2.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004266/0.5488, allocations: 45.7 kB / 0.6516 GB, free: 2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.5499, allocations: 0.9271 MB / 0.6525 GB, free: 1.066 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007564/0.5506, allocations: 440.2 kB / 0.6529 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.5518, allocations: 398.8 kB / 0.6533 GB, free: 240 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.552, allocations: 345.9 kB / 0.6536 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004765/0.5568, allocations: 3.407 MB / 0.657 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004973/0.5617, allocations: 3.571 MB / 0.6605 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03563/0.5974, allocations: 11.08 MB / 0.6713 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.5974, allocations: 4 kB / 0.6713 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01384/0.6112, allocations: 7.485 MB / 0.6786 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.6112, allocations: 11.94 kB / 0.6786 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.6113, allocations: 4 kB / 0.6786 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.6128, allocations: 0.8124 MB / 0.6794 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005208/0.618, allocations: 0.7883 MB / 0.6802 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/0.6346, allocations: 13.64 MB / 0.6935 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.6362, allocations: 51.91 kB / 0.6935 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006489/0.6369, allocations: 295.8 kB / 0.6938 GB, free: 5.961 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.001649/0.6385, allocations: 0.5984 MB / 0.6944 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008612/0.6394, allocations: 258.3 kB / 0.6947 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009862/0.6492, allocations: 3.684 MB / 0.6983 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.6492, allocations: 12 kB / 0.6983 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6493, allocations: 0 / 0.6983 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.6493, allocations: 11.97 kB / 0.6983 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.6622, allocations: 6.374 MB / 0.7045 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.6623, allocations: 4.719 kB / 0.7045 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/0.6651, allocations: 319.6 kB / 0.7048 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.6671, allocations: 364 kB / 0.7052 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.6672, allocations: 31.97 kB / 0.7052 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.6784, allocations: 8.395 MB / 0.7134 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005812/0.6842, allocations: 3.771 MB / 0.7171 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/0.6909, allocations: 2.624 MB / 0.7196 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.6919, allocations: 370.2 kB / 0.72 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006938/0.6926, allocations: 35.94 kB / 0.72 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.6939, allocations: 31.98 kB / 0.7201 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/0.6942, allocations: 132.6 kB / 0.7202 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/0.6943, allocations: 35.98 kB / 0.7202 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005194/0.6995, allocations: 3.673 MB / 0.7238 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6995, allocations: 0 / 0.7238 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00264/0.7021, allocations: 0.773 MB / 0.7246 GB, free: 5.273 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.007647/0.7098, allocations: 3.469 MB / 0.7279 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.221/0.9307, allocations: 4.25 MB / 0.7321 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.9307, allocations: 1.062 kB / 0.7321 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0025/0.9332, allocations: 1.308 MB / 0.7334 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.9362, allocations: 0.6462 MB / 0.734 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07314/1.009, allocations: 48.78 MB / 0.7816 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009549/1.01, allocations: 1.636 MB / 0.7832 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001722/1.012, allocations: 0.556 MB / 0.7838 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.014, allocations: 1.025 MB / 0.7848 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.014, allocations: 0 / 0.7848 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1596/1.173, allocations: 87.59 MB / 0.8703 GB, free: 63.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.97/21.14, allocations: 6.719 kB / 0.8703 GB, free: 63.17 MB / 0.5606 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 24.29364765493665] Failed to read output from testmodel.py, exit status != 0: 21.36900849500671 21.388323373 20.970037301 Calling exit ...