Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.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.001471/0.001471, allocations: 99.66 kB / 18.94 MB, free: 2.832 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.001774/0.001774, allocations: 219.6 kB / 22.25 MB, free: 5.105 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.824 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.1432/0.1432, allocations: 23.99 MB / 336.4 MB, free: 10.88 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.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",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.002185/0.002185, allocations: 72.12 kB / 471.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3591, allocations: 59.9 MB / 0.5187 GB, free: 9.531 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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/Obsolete.mo:12638:6-12638:65: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. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest): time 0.08243/0.4415, allocations: 25.1 MB / 0.5432 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.4556, allocations: 8.939 MB / 0.552 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000862/0.4564, allocations: 15.88 kB / 0.552 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.4575, allocations: 214.3 kB / 0.5522 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.4601, allocations: 0.5631 MB / 0.5527 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.4655, allocations: 1.466 MB / 0.5542 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.4674, allocations: 0.953 MB / 0.5551 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.4683, allocations: 426 kB / 0.5555 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007797/0.4691, allocations: 431.7 kB / 0.5559 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.4703, allocations: 421 kB / 0.5563 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004572/0.4707, allocations: 84 kB / 0.5564 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.4745, allocations: 0.988 MB / 0.5574 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.4749, allocations: 186 kB / 0.5575 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006252/0.4755, allocations: 369.2 kB / 0.5579 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.4801, allocations: 2.05 MB / 0.5599 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4801, allocations: 4.984 kB / 0.5599 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4801, allocations: 0 / 0.5599 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.055e-05/0.4802, allocations: 0 / 0.5599 GB, free: 15.25 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003117/0.4833, allocations: 1.162 MB / 0.561 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4833, allocations: 8.031 kB / 0.561 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.4835, allocations: 111.1 kB / 0.5612 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009697/0.4845, allocations: 208.7 kB / 0.5613 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/0.4854, allocations: 437.4 kB / 0.5618 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.4855, allocations: 50.38 kB / 0.5618 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.4856, allocations: 68.38 kB / 0.5619 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.4875, allocations: 1.112 MB / 0.563 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.4876, allocations: 0 / 0.563 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.4876, allocations: 32 kB / 0.563 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.4877, allocations: 20 kB / 0.563 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.4899, allocations: 1.542 MB / 0.5645 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005476/0.4954, allocations: 2.654 MB / 0.5671 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.4971, allocations: 0.8986 MB / 0.568 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.4976, allocations: 366.6 kB / 0.5683 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003769/0.5014, allocations: 1.732 MB / 0.57 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.5014, allocations: 43 kB / 0.5701 GB, free: 4.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 3.055e-06/0.5014, allocations: 4 kB / 0.5701 GB, free: 4.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01454/0.516, allocations: 3.393 MB / 0.5734 GB, free: 1.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.516, allocations: 60.06 kB / 0.5734 GB, free: 1.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009618/0.517, allocations: 0.7125 MB / 0.5741 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.5171, allocations: 37.7 kB / 0.5742 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.5174, allocations: 356.4 kB / 0.5745 GB, free: 372 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.5177, allocations: 249.9 kB / 0.5748 GB, free: 120 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.518, allocations: 158.6 kB / 0.5749 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.5182, allocations: 370.8 kB / 0.5753 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000725/0.519, allocations: 457.8 kB / 0.5757 GB, free: 15.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/0.5198, allocations: 0.6081 MB / 0.5763 GB, free: 14.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.5213, allocations: 0.9931 MB / 0.5773 GB, free: 13.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.5213, allocations: 4 kB / 0.5773 GB, free: 13.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003932/0.5252, allocations: 1.429 MB / 0.5787 GB, free: 11.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.5253, allocations: 12 kB / 0.5787 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5253, allocations: 11.94 kB / 0.5787 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.5273, allocations: 262.3 kB / 0.5789 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.5281, allocations: 203.6 kB / 0.5791 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005498/0.5336, allocations: 3.722 MB / 0.5828 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/0.5342, allocations: 24 kB / 0.5828 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.5343, allocations: 39.98 kB / 0.5828 GB, free: 7.438 MB / 430.1 MB 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 (94): * Single equations (assignments): 91 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003694/0.5346, allocations: 205.8 kB / 0.583 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.5348, allocations: 63.58 kB / 0.5831 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.5386, allocations: 1.216 MB / 0.5843 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5386, allocations: 8 kB / 0.5843 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5386, allocations: 4 kB / 0.5843 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.5386, allocations: 3.984 kB / 0.5843 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/0.5437, allocations: 2.034 MB / 0.5863 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.5437, allocations: 4.188 kB / 0.5863 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.5442, allocations: 135.8 kB / 0.5864 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.5462, allocations: 266.2 kB / 0.5867 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.5463, allocations: 23.98 kB / 0.5867 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005242/0.5515, allocations: 3.68 MB / 0.5903 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5515, allocations: 8.109 kB / 0.5903 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/0.5557, allocations: 1.686 MB / 0.5919 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.5562, allocations: 115.6 kB / 0.592 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.5563, allocations: 19.94 kB / 0.5921 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.5568, allocations: 20 kB / 0.5921 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.5569, allocations: 60.72 kB / 0.5921 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.557, allocations: 31.98 kB / 0.5922 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006926/0.5577, allocations: 0.5147 MB / 0.5927 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5577, allocations: 4 kB / 0.5927 GB, free: 12.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001631/0.5593, allocations: 442.8 kB / 0.5931 GB, free: 12.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (simpleSolution.temperature,simpleSolution.mass,liquidWater.logn) * 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 (70): * Single equations (assignments): 67 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005733/0.5651, allocations: 2.65 MB / 0.5957 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.5671, allocations: 1.167 MB / 0.5968 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5671, allocations: 4 kB / 0.5968 GB, free: 8.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.5681, allocations: 0.6534 MB / 0.5975 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009405/0.5691, allocations: 167.5 kB / 0.5976 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.5843, allocations: 7.971 MB / 0.6054 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.5847, allocations: 314.7 kB / 0.6057 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005064/0.5852, allocations: 129 kB / 0.6058 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.5856, allocations: 291.3 kB / 0.6061 GB, free: 14.8 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5856, allocations: 0 / 0.6061 GB, free: 14.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07196/0.6576, allocations: 26.08 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.84, allocations: 8.047 kB / 0.6316 GB, free: 4.91 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.703736377879977] Failed to read output from testmodel.py, exit status != 0: 14.978246177081019 14.997370677 14.513379577 Calling exit ...