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.0007463/0.0007463, 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.0007498/0.0007498, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8606/0.8606, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.08273/0.08273, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 411.6 MB, free: 280 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.014e-05, allocations: 2.281 kB / 411.6 MB, free: 276 kB / 378.7 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.02649/0.02651, allocations: 29.13 MB / 440.7 MB, free: 3.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1745/0.201, allocations: 9.15 MB / 449.9 MB, free: 59.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.2017, allocations: 59.19 kB / 449.9 MB, free: 59.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.2035, allocations: 1.048 MB / 451 MB, free: 58.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.2048, allocations: 1.087 MB / 452.1 MB, free: 58.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.2066, allocations: 1.155 MB / 453.2 MB, free: 58.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.2081, allocations: 2.265 MB / 455.5 MB, free: 56.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.2085, allocations: 421.6 kB / 455.9 MB, free: 56.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.2092, allocations: 1.323 MB / 457.2 MB, free: 56.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007342/0.21, allocations: 0.9305 MB / 458.1 MB, free: 55.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.2101, allocations: 208.3 kB / 458.4 MB, free: 55.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.2127, allocations: 1.39 MB / 459.7 MB, free: 55.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.213, allocations: 0.6667 MB / 460.4 MB, free: 55.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000454/0.2134, allocations: 0.7397 MB / 461.1 MB, free: 54.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.2167, allocations: 4.088 MB / 465.2 MB, free: 52.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2167, allocations: 2.656 kB / 465.2 MB, free: 52.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2167, allocations: 0 / 465.2 MB, free: 52.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.2167, allocations: 0 / 465.2 MB, free: 52.85 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.002273/0.219, allocations: 2.582 MB / 467.8 MB, free: 51.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.219, allocations: 9.75 kB / 467.8 MB, free: 51.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/0.2193, allocations: 324.3 kB / 468.1 MB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008061/0.2201, allocations: 0.5179 MB / 468.7 MB, free: 50.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.2213, allocations: 1.276 MB / 469.9 MB, free: 50 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.2214, allocations: 273.5 kB / 470.2 MB, free: 49.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.2216, allocations: 203.2 kB / 470.4 MB, free: 49.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004245/0.2258, allocations: 7.414 MB / 477.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.2258, allocations: 6.969 kB / 477.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/0.2259, allocations: 87.88 kB / 477.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.2261, allocations: 332.1 kB / 478.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009058/0.2352, allocations: 13.39 MB / 491.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.2457, allocations: 11.14 MB / 0.491 GB, free: 35.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.2469, allocations: 0.7749 MB / 0.4917 GB, free: 35.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.2475, allocations: 476.9 kB / 0.4922 GB, free: 35.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003874/0.2514, allocations: 3.61 MB / 0.4957 GB, free: 32.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.2514, allocations: 39.22 kB / 0.4958 GB, free: 32.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.605e-06/0.2514, allocations: 0 / 0.4958 GB, free: 32.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=76): time 0.006092/0.2575, allocations: 3.791 MB / 0.4995 GB, free: 28.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.2575, allocations: 60.06 kB / 0.4995 GB, free: 28.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2586, allocations: 1.461 MB / 0.5009 GB, free: 27.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.2587, allocations: 37.7 kB / 0.501 GB, free: 27.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.2591, allocations: 1.126 MB / 0.5021 GB, free: 26.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.2592, allocations: 283.4 kB / 0.5023 GB, free: 26.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.2595, allocations: 314.3 kB / 0.5026 GB, free: 25.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.2595, allocations: 350.8 kB / 0.503 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.26, allocations: 447.3 kB / 0.5034 GB, free: 25.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.2607, allocations: 0.9107 MB / 0.5043 GB, free: 24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008269/0.2689, allocations: 4.198 MB / 0.5084 GB, free: 20.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.2689, allocations: 6.688 kB / 0.5084 GB, free: 20.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002278/0.2712, allocations: 1.794 MB / 0.5102 GB, free: 18.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.2712, allocations: 12 kB / 0.5102 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.2713, allocations: 16 kB / 0.5102 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.2716, allocations: 195.8 kB / 0.5104 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.2729, allocations: 0.5618 MB / 0.5109 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.2749, allocations: 4.312 MB / 0.5151 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.2757, allocations: 71.8 kB / 0.5152 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.2759, allocations: 179.5 kB / 0.5154 GB, free: 13.52 MB / 410.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: 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.000912/0.2768, allocations: 0.606 MB / 0.516 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.277, allocations: 173.6 kB / 0.5161 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.2792, allocations: 1.881 MB / 0.518 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2792, allocations: 8 kB / 0.518 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2792, allocations: 6.75 kB / 0.518 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2792, allocations: 7.922 kB / 0.518 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.282, allocations: 2.655 MB / 0.5206 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.282, allocations: 0 / 0.5206 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009779/0.283, allocations: 332.9 kB / 0.5209 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.2832, allocations: 182.3 kB / 0.5211 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.2833, allocations: 19.98 kB / 0.5211 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.2849, allocations: 4.4 MB / 0.5254 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2849, allocations: 7.969 kB / 0.5254 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.2866, allocations: 1.463 MB / 0.5268 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.2867, allocations: 153.8 kB / 0.527 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2869, allocations: 23.89 kB / 0.527 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.2872, allocations: 38.62 kB / 0.527 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.2872, allocations: 60.33 kB / 0.5271 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.2873, allocations: 19.98 kB / 0.5271 GB, free: 1.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007573/0.288, allocations: 1.163 MB / 0.5282 GB, free: 348 kB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.288, allocations: 4 kB / 0.5282 GB, free: 344 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001093/0.2891, allocations: 454.4 kB / 0.5287 GB, free: 15.89 MB / 426.7 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.002692/0.2918, allocations: 2.286 MB / 0.5309 GB, free: 13.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.294, allocations: 1.359 MB / 0.5322 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.294, allocations: 4 kB / 0.5322 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008309/0.2948, allocations: 0.7147 MB / 0.5329 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.296, allocations: 430.6 kB / 0.5333 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.3117, allocations: 14.41 MB / 0.5474 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.3124, allocations: 1.016 MB / 0.5484 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.3134, allocations: 0.5335 MB / 0.5489 GB, free: 10.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008367/0.3143, allocations: 0.9415 MB / 0.5498 GB, free: 9.582 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3143, allocations: 0 / 0.5498 GB, free: 9.582 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05893/0.3732, allocations: 47.46 MB / 0.5962 GB, free: 10.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.854, allocations: 3.938 kB / 0.5962 GB, free: 10.77 MB / 490.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Processes_Tests_TestMembrane.fmu > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.708116739057004] Failed to read output from testmodel.py, exit status != 0: 7.958676663227379 7.967319346 7.748971207 Calling exit ...