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.001251/0.001251, 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.001406/0.001406, allocations: 216.6 kB / 22.24 MB, free: 5.262 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.785 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.1344/0.1344, allocations: 23.94 MB / 336.4 MB, free: 10.89 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.001911/0.001911, allocations: 67.91 kB / 471.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3232, allocations: 59.88 MB / 0.5186 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.06813/0.3913, allocations: 25.02 MB / 0.543 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.404, allocations: 8.931 MB / 0.5518 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/0.4048, allocations: 7.938 kB / 0.5518 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007525/0.4055, allocations: 219.4 kB / 0.552 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.407, allocations: 0.5701 MB / 0.5525 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.4112, allocations: 1.464 MB / 0.554 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.4126, allocations: 0.9546 MB / 0.5549 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006477/0.4132, allocations: 434.1 kB / 0.5553 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005177/0.4137, allocations: 423.6 kB / 0.5557 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.4144, allocations: 480.9 kB / 0.5562 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.4146, allocations: 84 kB / 0.5563 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.4176, allocations: 1.012 MB / 0.5572 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.4179, allocations: 194 kB / 0.5574 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.4183, allocations: 361.2 kB / 0.5578 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004157/0.4225, allocations: 2.054 MB / 0.5598 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4225, allocations: 4.75 kB / 0.5598 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4225, allocations: 0 / 0.5598 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.4225, allocations: 0 / 0.5598 GB, free: 15.38 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.00221/0.4247, allocations: 1.159 MB / 0.5609 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4247, allocations: 8.031 kB / 0.5609 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.4249, allocations: 114.7 kB / 0.561 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008068/0.4257, allocations: 208.1 kB / 0.5612 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.4264, allocations: 433.8 kB / 0.5616 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.4265, allocations: 58.31 kB / 0.5617 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.4266, allocations: 68.33 kB / 0.5618 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.4282, allocations: 1.114 MB / 0.5629 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.4282, allocations: 0 / 0.5629 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.4283, allocations: 28 kB / 0.5629 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.4283, allocations: 23.98 kB / 0.5629 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.4303, allocations: 1.538 MB / 0.5644 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004621/0.435, allocations: 2.654 MB / 0.567 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.4364, allocations: 0.8991 MB / 0.5679 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.4369, allocations: 374.6 kB / 0.5682 GB, free: 6.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003279/0.4402, allocations: 1.724 MB / 0.5699 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4402, allocations: 39 kB / 0.57 GB, free: 5.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.185e-06/0.4402, allocations: 4 kB / 0.57 GB, free: 5.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01298/0.4532, allocations: 3.387 MB / 0.5733 GB, free: 1.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.4533, allocations: 68.05 kB / 0.5733 GB, free: 1.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.4541, allocations: 0.7164 MB / 0.574 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.4542, allocations: 33.7 kB / 0.5741 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.4544, allocations: 356.4 kB / 0.5744 GB, free: 436 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.4546, allocations: 249.9 kB / 0.5746 GB, free: 184 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.4549, allocations: 154.6 kB / 0.5748 GB, free: 24 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.455, allocations: 366.8 kB / 0.5751 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.4557, allocations: 465.8 kB / 0.5756 GB, free: 15.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/0.4564, allocations: 0.6042 MB / 0.5762 GB, free: 14.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.4578, allocations: 0.9931 MB / 0.5771 GB, free: 13.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.4578, allocations: 4 kB / 0.5771 GB, free: 13.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003551/0.4613, allocations: 1.433 MB / 0.5785 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4614, allocations: 12 kB / 0.5786 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4614, allocations: 7.938 kB / 0.5786 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.4632, allocations: 266.2 kB / 0.5788 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.4639, allocations: 203.7 kB / 0.579 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.469, allocations: 3.722 MB / 0.5826 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.4696, allocations: 20 kB / 0.5827 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.4697, allocations: 39.98 kB / 0.5827 GB, free: 7.512 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.0003515/0.4701, allocations: 217.7 kB / 0.5829 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.4702, allocations: 63.58 kB / 0.583 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.4736, allocations: 1.205 MB / 0.5841 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4736, allocations: 8 kB / 0.5842 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4736, allocations: 4 kB / 0.5842 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4736, allocations: 7.984 kB / 0.5842 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/0.478, allocations: 2.042 MB / 0.5862 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4781, allocations: 4.188 kB / 0.5862 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.4786, allocations: 139.8 kB / 0.5863 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.4803, allocations: 262.3 kB / 0.5865 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.4804, allocations: 23.92 kB / 0.5866 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.485, allocations: 3.685 MB / 0.5902 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.485, allocations: 4.125 kB / 0.5902 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/0.4888, allocations: 1.678 MB / 0.5918 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.4891, allocations: 119.6 kB / 0.5919 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.4892, allocations: 19.94 kB / 0.5919 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.4895, allocations: 15.98 kB / 0.592 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.4897, allocations: 60.55 kB / 0.592 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.4898, allocations: 32 kB / 0.592 GB, free: 13.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005877/0.4903, allocations: 0.5186 MB / 0.5926 GB, free: 13 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4903, allocations: 0 / 0.5926 GB, free: 13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001267/0.4916, allocations: 438.8 kB / 0.593 GB, free: 12.57 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.004935/0.4965, allocations: 2.662 MB / 0.5956 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.4984, allocations: 1.167 MB / 0.5967 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4984, allocations: 0 / 0.5967 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.4993, allocations: 0.6573 MB / 0.5974 GB, free: 7.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.5002, allocations: 167.4 kB / 0.5975 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.5137, allocations: 7.971 MB / 0.6053 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.514, allocations: 310.7 kB / 0.6056 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004838/0.5145, allocations: 129 kB / 0.6057 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.5149, allocations: 291.3 kB / 0.606 GB, free: 14.86 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5149, allocations: 0 / 0.606 GB, free: 14.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06331/0.5782, allocations: 26.32 MB / 0.6317 GB, free: 4.734 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.72, allocations: 11.91 kB / 0.6317 GB, free: 4.723 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.42322529599187] Failed to read output from testmodel.py, exit status != 0: 13.851517303992296 13.877170052 13.450030824 Calling exit ...