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.0008461/0.0008461, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001094/0.001094, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9927/0.9927, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.08927/0.08927, allocations: 17.37 MB / 276.6 MB, free: 11.86 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 411.4 MB, free: 456 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.5e-05, allocations: 2.281 kB / 411.4 MB, free: 452 kB / 378.7 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.02855/0.02857, allocations: 28.77 MB / 440.2 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2304/0.259, allocations: 8.155 MB / 448.3 MB, free: 59.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.2596, allocations: 26.34 kB / 448.4 MB, free: 59.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.2615, allocations: 0.9883 MB / 449.4 MB, free: 59.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.2627, allocations: 0.8463 MB / 450.2 MB, free: 58.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.2641, allocations: 0.9674 MB / 451.2 MB, free: 58.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.2653, allocations: 2.069 MB / 453.2 MB, free: 57.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.2657, allocations: 426.7 kB / 453.7 MB, free: 57.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006554/0.2663, allocations: 1.211 MB / 454.9 MB, free: 56.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.2669, allocations: 0.7024 MB / 455.6 MB, free: 56.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.267, allocations: 220.4 kB / 455.8 MB, free: 56.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.2688, allocations: 1.163 MB / 457 MB, free: 56.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.2691, allocations: 0.6626 MB / 457.6 MB, free: 56.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.2695, allocations: 0.7273 MB / 458.3 MB, free: 55.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.2724, allocations: 4.077 MB / 462.4 MB, free: 54.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2724, allocations: 0 / 462.4 MB, free: 54.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2724, allocations: 0 / 462.4 MB, free: 54.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.2724, allocations: 2.656 kB / 462.4 MB, free: 54.26 MB / 410.7 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.002483/0.2749, allocations: 2.55 MB / 465 MB, free: 52.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.275, allocations: 12.19 kB / 465 MB, free: 52.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002701/0.2752, allocations: 325.8 kB / 465.3 MB, free: 52.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.2763, allocations: 0.5268 MB / 465.8 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.2774, allocations: 1.077 MB / 466.9 MB, free: 51.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.2777, allocations: 363.8 kB / 467.3 MB, free: 51.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.2779, allocations: 201 kB / 467.5 MB, free: 51.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005936/0.2838, allocations: 8.326 MB / 475.8 MB, free: 47.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.2838, allocations: 384 / 475.8 MB, free: 47.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.2839, allocations: 81.61 kB / 475.9 MB, free: 47.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.2841, allocations: 348.4 kB / 476.2 MB, free: 47.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.2953, allocations: 14.41 MB / 490.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.3137, allocations: 19.69 MB / 0.4983 GB, free: 29.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.317, allocations: 3.445 MB / 0.5017 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/0.3194, allocations: 2.79 MB / 0.5044 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008822/0.3203, allocations: 0.575 MB / 0.505 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3203, allocations: 43.5 kB / 0.505 GB, free: 23.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=94): time 3.236e-06/0.3203, allocations: 4 kB / 0.505 GB, free: 23.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.02422/0.3445, allocations: 16.76 MB / 0.5214 GB, free: 8.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004528/0.349, allocations: 6.476 MB / 0.5277 GB, free: 1.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.3517, allocations: 2.939 MB / 0.5306 GB, free: 14.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.3519, allocations: 45.7 kB / 0.5306 GB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006513/0.3525, allocations: 0.9348 MB / 0.5316 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.3529, allocations: 432.2 kB / 0.532 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005904/0.3535, allocations: 401.5 kB / 0.5324 GB, free: 12.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3536, allocations: 349.9 kB / 0.5327 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/0.3568, allocations: 3.446 MB / 0.5361 GB, free: 9.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003218/0.36, allocations: 3.609 MB / 0.5396 GB, free: 5.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/0.3747, allocations: 10.27 MB / 0.5496 GB, free: 11.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.3747, allocations: 0 / 0.5496 GB, free: 11.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.009053/0.3838, allocations: 7.557 MB / 0.557 GB, free: 3.723 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.3838, allocations: 8 kB / 0.557 GB, free: 3.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.3838, allocations: 4 kB / 0.557 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.3852, allocations: 0.8098 MB / 0.5578 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.3883, allocations: 0.8052 MB / 0.5586 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.4002, allocations: 13.45 MB / 0.5717 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.4016, allocations: 63.94 kB / 0.5718 GB, free: 4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/0.4019, allocations: 301.2 kB / 0.5721 GB, free: 3.711 MB / 458.7 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.001447/0.4034, allocations: 0.5949 MB / 0.5726 GB, free: 3.109 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/0.4038, allocations: 253 kB / 0.5729 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005287/0.4091, allocations: 3.739 MB / 0.5765 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4091, allocations: 12 kB / 0.5765 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4091, allocations: 2.625 kB / 0.5765 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4091, allocations: 3.984 kB / 0.5765 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/0.4155, allocations: 5.588 MB / 0.582 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.4155, allocations: 7.938 kB / 0.582 GB, free: 9.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.4167, allocations: 333 kB / 0.5823 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008865/0.4176, allocations: 377.3 kB / 0.5827 GB, free: 8.625 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.4177, allocations: 35.97 kB / 0.5827 GB, free: 8.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005669/0.4233, allocations: 8.259 MB / 0.5908 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003065/0.4264, allocations: 3.691 MB / 0.5944 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.4301, allocations: 2.717 MB / 0.597 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/0.4307, allocations: 362.2 kB / 0.5974 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.4309, allocations: 35.92 kB / 0.5974 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.4315, allocations: 54.64 kB / 0.5975 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.4317, allocations: 124.7 kB / 0.5976 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.4318, allocations: 39.98 kB / 0.5976 GB, free: 8.418 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003624/0.4354, allocations: 3.669 MB / 0.6012 GB, free: 4.742 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4354, allocations: 0 / 0.6012 GB, free: 4.742 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00182/0.4372, allocations: 0.7613 MB / 0.602 GB, free: 3.98 MB / 490.7 MB 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.004458/0.4417, allocations: 3.56 MB / 0.6054 GB, free: 348 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004634/0.4463, allocations: 4.318 MB / 0.6097 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4463, allocations: 0 / 0.6097 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.4478, allocations: 1.346 MB / 0.611 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.4495, allocations: 0.6474 MB / 0.6116 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2484/0.6979, allocations: 48.34 MB / 0.6588 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.699, allocations: 1.055 MB / 0.6598 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00186/0.7009, allocations: 0.5553 MB / 0.6604 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.7021, allocations: 1.021 MB / 0.6614 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.7021, allocations: 0 / 0.6614 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09696/0.7991, allocations: 93.21 MB / 0.7524 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.48, allocations: 3.266 kB / 0.7524 GB, free: 57.53 MB / 0.4948 GB " [Timeout remaining time 647] (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: 14.72135934047401] Failed to read output from testmodel.py, exit status != 0: 12.612097735516727 12.618841767 12.345161104 Calling exit ...