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.001276/0.001276, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001748/0.001748, allocations: 216.8 kB / 22.25 MB, free: 4.852 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.812 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.1437/0.1437, allocations: 23.99 MB / 336.4 MB, free: 10.86 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_master_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.002027/0.002027, allocations: 63.91 kB / 471.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 59.9 MB / 0.5187 GB, free: 9.5 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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:1343:7-1343: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:1361:7-1361: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:1361:7-1361: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.07533/0.4293, allocations: 28.63 MB / 0.5467 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.4445, allocations: 8.428 MB / 0.5549 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.4462, allocations: 35.81 kB / 0.5549 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.4497, allocations: 0.928 MB / 0.5558 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.4531, allocations: 0.8526 MB / 0.5567 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.4564, allocations: 1.014 MB / 0.5577 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003542/0.46, allocations: 2.018 MB / 0.5596 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.4608, allocations: 419.2 kB / 0.56 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.4621, allocations: 0.8332 MB / 0.5609 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.464, allocations: 0.9835 MB / 0.5618 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005159/0.4645, allocations: 208 kB / 0.562 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.468, allocations: 1.123 MB / 0.5631 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007899/0.4688, allocations: 0.5932 MB / 0.5637 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.4703, allocations: 0.8737 MB / 0.5645 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006466/0.4767, allocations: 3.912 MB / 0.5684 GB, free: 6.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4767, allocations: 0 / 0.5684 GB, free: 6.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4767, allocations: 0 / 0.5684 GB, free: 6.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.592e-05/0.4768, allocations: 0 / 0.5684 GB, free: 6.82 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.004644/0.4815, allocations: 2.538 MB / 0.5708 GB, free: 4.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4815, allocations: 8.031 kB / 0.5709 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004568/0.482, allocations: 330.1 kB / 0.5712 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.4836, allocations: 0.4911 MB / 0.5716 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.4852, allocations: 0.9207 MB / 0.5725 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.4855, allocations: 267.4 kB / 0.5728 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.4858, allocations: 200.3 kB / 0.573 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009608/0.4954, allocations: 7.423 MB / 0.5802 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/0.4954, allocations: 8 kB / 0.5802 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.4956, allocations: 79.98 kB / 0.5803 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003859/0.496, allocations: 328.7 kB / 0.5806 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.5122, allocations: 13.39 MB / 0.5937 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/0.5323, allocations: 11.11 MB / 0.6046 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.5343, allocations: 0.7789 MB / 0.6053 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.5354, allocations: 475.7 kB / 0.6058 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008406/0.5438, allocations: 3.623 MB / 0.6093 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5438, allocations: 39.22 kB / 0.6093 GB, free: 12.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.855e-06/0.5438, allocations: 0 / 0.6093 GB, free: 12.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.01254/0.5564, allocations: 3.77 MB / 0.613 GB, free: 8.621 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.5564, allocations: 60.06 kB / 0.6131 GB, free: 8.551 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.5586, allocations: 1.463 MB / 0.6145 GB, free: 7.078 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.393e-05/0.5587, allocations: 33.7 kB / 0.6145 GB, free: 7.039 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009508/0.5596, allocations: 1.13 MB / 0.6157 GB, free: 5.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.5599, allocations: 293.5 kB / 0.6159 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/0.5604, allocations: 318.7 kB / 0.6162 GB, free: 5.289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5606, allocations: 353.9 kB / 0.6166 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.5616, allocations: 442.4 kB / 0.617 GB, free: 4.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.5631, allocations: 0.9176 MB / 0.6179 GB, free: 3.363 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/0.5817, allocations: 4.204 MB / 0.622 GB, free: 14.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5817, allocations: 4 kB / 0.622 GB, free: 14.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004491/0.5862, allocations: 1.767 MB / 0.6237 GB, free: 13.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.5863, allocations: 13 kB / 0.6237 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.5863, allocations: 16 kB / 0.6238 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/0.5868, allocations: 198.5 kB / 0.6239 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.5898, allocations: 0.5579 MB / 0.6245 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/0.5947, allocations: 4.314 MB / 0.6287 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.5959, allocations: 71.97 kB / 0.6288 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.5961, allocations: 180 kB / 0.6289 GB, free: 7.438 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: 74 * Number of states: 0 () * Number of discrete variables: 2 (s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.5973, allocations: 0.6184 MB / 0.6295 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.5976, allocations: 166.9 kB / 0.6297 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.6024, allocations: 1.875 MB / 0.6315 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6024, allocations: 8 kB / 0.6315 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6024, allocations: 0 / 0.6315 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.6024, allocations: 3.984 kB / 0.6315 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/0.6082, allocations: 2.666 MB / 0.6342 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.6082, allocations: 0 / 0.6342 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/0.6105, allocations: 327.8 kB / 0.6345 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.611, allocations: 178.4 kB / 0.6346 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/0.6111, allocations: 23.98 kB / 0.6347 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004809/0.6159, allocations: 4.406 MB / 0.639 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6159, allocations: 0 / 0.639 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/0.62, allocations: 1.468 MB / 0.6404 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.6204, allocations: 154.9 kB / 0.6405 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.6206, allocations: 31.86 kB / 0.6406 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006866/0.6213, allocations: 31.98 kB / 0.6406 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.6214, allocations: 56.39 kB / 0.6407 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.6215, allocations: 23.98 kB / 0.6407 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00181/0.6233, allocations: 1.159 MB / 0.6418 GB, free: 9.738 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6233, allocations: 0 / 0.6418 GB, free: 9.738 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001802/0.6251, allocations: 431.7 kB / 0.6422 GB, free: 9.316 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (s1.logm,p1.logm,d1.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004941/0.63, allocations: 2.269 MB / 0.6444 GB, free: 6.992 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003298/0.6333, allocations: 1.355 MB / 0.6458 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6333, allocations: 4 kB / 0.6458 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.635, allocations: 0.714 MB / 0.6465 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.6369, allocations: 411.6 kB / 0.6469 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/0.6652, allocations: 14.12 MB / 0.6606 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.6666, allocations: 1.012 MB / 0.6616 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001732/0.6683, allocations: 0.5028 MB / 0.6621 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.6698, allocations: 0.9288 MB / 0.663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of SimCode: time 8.81e-07/0.6698, allocations: 0 / 0.663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.776, allocations: 46.42 MB / 0.7084 GB, free: 5.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.39, allocations: 10.7 kB / 0.7084 GB, free: 5.02 MB / 0.545 GB " [Timeout remaining time 645] (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: 17.215420036111027] Failed to read output from testmodel.py, exit status != 0: 14.533109169919044 14.55667682 14.076199019 Calling exit ...