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.001316/0.001316, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001554/0.001554, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.793 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.1426/0.1426, allocations: 23.92 MB / 336.4 MB, free: 10.91 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.001976/0.001976, allocations: 67.91 kB / 471.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 59.88 MB / 0.5186 GB, free: 9.477 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336: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:1336:7-1336: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:1350:7-1350: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:1350:7-1350: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.07408/0.4026, allocations: 28.42 MB / 0.5464 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.4175, allocations: 8.176 MB / 0.5543 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.4197, allocations: 31.81 kB / 0.5544 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.423, allocations: 0.9194 MB / 0.5553 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.4264, allocations: 0.8429 MB / 0.5561 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.4297, allocations: 0.9515 MB / 0.557 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.4335, allocations: 1.988 MB / 0.559 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007776/0.4342, allocations: 427.1 kB / 0.5594 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.4356, allocations: 0.8353 MB / 0.5602 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.4374, allocations: 1.087 MB / 0.5612 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000389/0.4378, allocations: 207.9 kB / 0.5614 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.4411, allocations: 1.094 MB / 0.5625 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007474/0.4419, allocations: 0.5842 MB / 0.5631 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.4431, allocations: 0.8637 MB / 0.5639 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006619/0.4497, allocations: 3.835 MB / 0.5677 GB, free: 7.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.4497, allocations: 4 kB / 0.5677 GB, free: 7.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4497, allocations: 3.938 kB / 0.5677 GB, free: 7.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.062e-05/0.4498, allocations: 0 / 0.5677 GB, free: 7.539 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.004387/0.4542, allocations: 2.518 MB / 0.5701 GB, free: 4.977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4542, allocations: 8.031 kB / 0.5701 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000387/0.4546, allocations: 317.9 kB / 0.5704 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.4562, allocations: 0.4989 MB / 0.5709 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.4577, allocations: 0.9052 MB / 0.5718 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.458, allocations: 271.3 kB / 0.5721 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.4582, allocations: 200.3 kB / 0.5723 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008127/0.4664, allocations: 6.925 MB / 0.579 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.4664, allocations: 0 / 0.579 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.4666, allocations: 79.98 kB / 0.5791 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003706/0.4669, allocations: 332.7 kB / 0.5794 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.4808, allocations: 12.66 MB / 0.5918 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/0.498, allocations: 10.75 MB / 0.6023 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.4997, allocations: 0.7844 MB / 0.6031 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009433/0.5007, allocations: 475.7 kB / 0.6035 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00687/0.5075, allocations: 3.479 MB / 0.6069 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.5076, allocations: 43.2 kB / 0.6069 GB, free: 15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.224e-06/0.5076, allocations: 0 / 0.6069 GB, free: 15 MB / 462.1 MB Notification: Performance of matching and sorting (n=77): time 0.01116/0.5187, allocations: 3.862 MB / 0.6107 GB, free: 11.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5188, allocations: 60.06 kB / 0.6108 GB, free: 10.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.5206, allocations: 1.43 MB / 0.6122 GB, free: 9.535 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.857e-05/0.5207, allocations: 41.7 kB / 0.6122 GB, free: 9.488 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009204/0.5216, allocations: 1.118 MB / 0.6133 GB, free: 8.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.5219, allocations: 277.7 kB / 0.6136 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000453/0.5224, allocations: 310.7 kB / 0.6139 GB, free: 7.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5226, allocations: 349.9 kB / 0.6142 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/0.5235, allocations: 450.4 kB / 0.6146 GB, free: 6.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.5249, allocations: 0.8899 MB / 0.6155 GB, free: 5.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/0.536, allocations: 3.126 MB / 0.6185 GB, free: 2.539 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.5361, allocations: 15.94 kB / 0.6186 GB, free: 2.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004251/0.5403, allocations: 1.76 MB / 0.6203 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.5403, allocations: 15.98 kB / 0.6203 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.5404, allocations: 12 kB / 0.6203 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/0.5409, allocations: 194.5 kB / 0.6205 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/0.5433, allocations: 467.4 kB / 0.6209 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/0.5479, allocations: 4.334 MB / 0.6252 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.549, allocations: 64.19 kB / 0.6252 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.5493, allocations: 176 kB / 0.6254 GB, free: 11.15 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: 69 * 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 (135): * Single equations (assignments): 132 * 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.0012/0.5505, allocations: 0.6093 MB / 0.626 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.5508, allocations: 159 kB / 0.6261 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/0.5554, allocations: 1.899 MB / 0.628 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5554, allocations: 11.94 kB / 0.628 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5554, allocations: 0 / 0.628 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5554, allocations: 7.922 kB / 0.628 GB, free: 8.402 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006052/0.5615, allocations: 2.706 MB / 0.6307 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.5615, allocations: 4 kB / 0.6307 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.5632, allocations: 227.9 kB / 0.6309 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/0.5637, allocations: 174.5 kB / 0.6311 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.5638, allocations: 23.98 kB / 0.6311 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/0.5684, allocations: 4.441 MB / 0.6354 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5684, allocations: 7.969 kB / 0.6354 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.5721, allocations: 1.438 MB / 0.6368 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/0.5725, allocations: 158.9 kB / 0.637 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.5727, allocations: 12.12 kB / 0.637 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.5733, allocations: 35.97 kB / 0.637 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.5735, allocations: 56.39 kB / 0.6371 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.5735, allocations: 23.98 kB / 0.6371 GB, free: 14.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.5752, allocations: 1.151 MB / 0.6382 GB, free: 13.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5752, allocations: 4 kB / 0.6382 GB, free: 13.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001575/0.5768, allocations: 427.7 kB / 0.6386 GB, free: 13.06 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (62): * Single equations (assignments): 59 * 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 Backend phase and start with SimCode phase: time 0.0045/0.5813, allocations: 2.251 MB / 0.6408 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.5844, allocations: 1.335 MB / 0.6421 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5844, allocations: 4 kB / 0.6421 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.586, allocations: 0.7098 MB / 0.6428 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.5878, allocations: 422.2 kB / 0.6432 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/0.6121, allocations: 13.89 MB / 0.6568 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.6134, allocations: 1.012 MB / 0.6578 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001536/0.6149, allocations: 494.9 kB / 0.6583 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.6163, allocations: 0.9327 MB / 0.6592 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.6163, allocations: 0 / 0.6592 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.7188, allocations: 46.63 MB / 0.7047 GB, free: 8.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.19, allocations: 6.641 kB / 0.7047 GB, free: 8.895 MB / 0.545 GB " [Timeout remaining time 646] (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: 17.0013149449951] Failed to read output from testmodel.py, exit status != 0: 14.320896938996157 14.335444186 13.882641993 Calling exit ...