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.001512/0.001512, allocations: 113 kB / 18.94 MB, free: 2.934 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.001907/0.001907, allocations: 209.9 kB / 22.25 MB, free: 5.082 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 8.008 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.1305/0.1305, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.001961/0.001961, allocations: 70.86 kB / 471.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2893, allocations: 59.88 MB / 0.5186 GB, free: 9.215 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.04047/0.3298, allocations: 29.57 MB / 0.5475 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.3441, allocations: 9.378 MB / 0.5567 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.3455, allocations: 31.81 kB / 0.5567 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.3484, allocations: 1.001 MB / 0.5577 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.351, allocations: 0.8502 MB / 0.5585 GB, free: 40 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.3537, allocations: 0.9483 MB / 0.5594 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.3567, allocations: 1.988 MB / 0.5614 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006671/0.3574, allocations: 426.9 kB / 0.5618 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.3585, allocations: 0.8352 MB / 0.5626 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.3599, allocations: 1.09 MB / 0.5637 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002423/0.3601, allocations: 204 kB / 0.5639 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.3639, allocations: 1.661 MB / 0.5655 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005317/0.3645, allocations: 0.5847 MB / 0.5661 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3655, allocations: 1.146 MB / 0.5672 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.3709, allocations: 4.001 MB / 0.5711 GB, free: 4.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3709, allocations: 0 / 0.5711 GB, free: 4.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3709, allocations: 0 / 0.5711 GB, free: 4.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.371, allocations: 0 / 0.5711 GB, free: 4.184 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.004119/0.3751, allocations: 2.518 MB / 0.5735 GB, free: 1.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3751, allocations: 8.031 kB / 0.5736 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003577/0.3755, allocations: 325.9 kB / 0.5739 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.3763, allocations: 407 kB / 0.5743 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.3777, allocations: 0.8975 MB / 0.5751 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.3779, allocations: 271.2 kB / 0.5754 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.3782, allocations: 200.3 kB / 0.5756 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007776/0.386, allocations: 6.894 MB / 0.5823 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.386, allocations: 3.938 kB / 0.5823 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.3862, allocations: 79.98 kB / 0.5824 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003852/0.3865, allocations: 332.7 kB / 0.5827 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.3996, allocations: 12.65 MB / 0.5951 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.4162, allocations: 11.34 MB / 0.6061 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.4178, allocations: 0.7635 MB / 0.6069 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007675/0.4185, allocations: 435.7 kB / 0.6073 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007161/0.4257, allocations: 3.725 MB / 0.6109 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.4257, allocations: 43.16 kB / 0.611 GB, free: 11.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.034e-06/0.4257, allocations: 0 / 0.611 GB, free: 11.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=77): time 0.01117/0.4369, allocations: 3.718 MB / 0.6146 GB, free: 7.203 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.4369, allocations: 60.06 kB / 0.6147 GB, free: 7.133 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.4387, allocations: 1.415 MB / 0.616 GB, free: 5.707 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.4388, allocations: 37.7 kB / 0.6161 GB, free: 5.664 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000878/0.4397, allocations: 1.11 MB / 0.6172 GB, free: 4.539 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.44, allocations: 285.6 kB / 0.6174 GB, free: 4.258 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/0.4404, allocations: 306.8 kB / 0.6177 GB, free: 3.949 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4406, allocations: 353.9 kB / 0.6181 GB, free: 3.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007412/0.4413, allocations: 414.5 kB / 0.6185 GB, free: 3.195 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4425, allocations: 0.8548 MB / 0.6193 GB, free: 2.129 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/0.4615, allocations: 3.886 MB / 0.6231 GB, free: 14.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.4615, allocations: 8 kB / 0.6231 GB, free: 14.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00383/0.4653, allocations: 1.698 MB / 0.6248 GB, free: 12.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.4653, allocations: 20.19 kB / 0.6248 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.4654, allocations: 12 kB / 0.6248 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/0.4659, allocations: 198.5 kB / 0.625 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/0.4682, allocations: 447.4 kB / 0.6254 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/0.4729, allocations: 4.354 MB / 0.6297 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/0.4738, allocations: 36 kB / 0.6297 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.474, allocations: 188 kB / 0.6299 GB, free: 6.715 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.001087/0.4751, allocations: 0.6072 MB / 0.6305 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.4754, allocations: 155 kB / 0.6306 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/0.4796, allocations: 1.848 MB / 0.6324 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.4796, allocations: 11.94 kB / 0.6324 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4796, allocations: 0 / 0.6324 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4796, allocations: 0 / 0.6324 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/0.4848, allocations: 2.83 MB / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4848, allocations: 0 / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.4864, allocations: 207.7 kB / 0.6354 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.4869, allocations: 182.5 kB / 0.6356 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.4869, allocations: 23.98 kB / 0.6356 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004937/0.4919, allocations: 4.449 MB / 0.6399 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4919, allocations: 4.031 kB / 0.6399 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/0.4952, allocations: 1.341 MB / 0.6412 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.4956, allocations: 154.9 kB / 0.6414 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.4958, allocations: 23.98 kB / 0.6414 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005174/0.4963, allocations: 16 kB / 0.6414 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.4965, allocations: 56.39 kB / 0.6415 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/0.4965, allocations: 27.92 kB / 0.6415 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.4983, allocations: 1.147 MB / 0.6426 GB, free: 9.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4983, allocations: 0 / 0.6426 GB, free: 9.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001515/0.4998, allocations: 431.6 kB / 0.643 GB, free: 8.688 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.003944/0.5037, allocations: 2.165 MB / 0.6452 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.5064, allocations: 1.28 MB / 0.6464 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5064, allocations: 0 / 0.6464 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.5079, allocations: 0.6796 MB / 0.6471 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.5095, allocations: 422.8 kB / 0.6475 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/0.5323, allocations: 13.71 MB / 0.6609 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.5337, allocations: 1.592 MB / 0.6624 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001519/0.5352, allocations: 0.495 MB / 0.6629 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.5366, allocations: 0.9288 MB / 0.6638 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.5366, allocations: 0 / 0.6638 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09676/0.6333, allocations: 44.01 MB / 0.7068 GB, free: 6.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.39/19.03, allocations: 10.62 kB / 0.7068 GB, free: 6.742 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.659510851997766] Failed to read output from testmodel.py, exit status != 0: 19.159040217993606 19.173564548 18.799652684 Calling exit ...