Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001319/0.001319, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001479/0.001479, allocations: 217.1 kB / 22.25 MB, free: 4.852 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1368/0.1368, allocations: 23.9 MB / 336.3 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_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.002128/0.002128, allocations: 71.89 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3148, allocations: 59.85 MB / 0.5185 GB, free: 9.574 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.07005/0.3849, allocations: 25.09 MB / 0.543 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3984, allocations: 8.943 MB / 0.5518 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008052/0.3993, allocations: 11.88 kB / 0.5518 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000894/0.4001, allocations: 222.5 kB / 0.552 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.402, allocations: 0.5594 MB / 0.5525 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.4061, allocations: 1.471 MB / 0.554 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.4078, allocations: 0.9474 MB / 0.5549 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008323/0.4086, allocations: 426.2 kB / 0.5553 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007318/0.4094, allocations: 427.9 kB / 0.5557 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008556/0.4102, allocations: 424.6 kB / 0.5561 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.4104, allocations: 88 kB / 0.5562 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.4134, allocations: 0.9802 MB / 0.5572 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.4137, allocations: 194 kB / 0.5573 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005699/0.4142, allocations: 365.2 kB / 0.5577 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004537/0.4188, allocations: 2.051 MB / 0.5597 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4188, allocations: 4 kB / 0.5597 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4188, allocations: 0.5156 kB / 0.5597 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.4188, allocations: 0 / 0.5597 GB, free: 15.43 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.002457/0.4213, allocations: 1.163 MB / 0.5608 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4213, allocations: 8.031 kB / 0.5608 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.4214, allocations: 110.1 kB / 0.5609 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008406/0.4223, allocations: 212.9 kB / 0.5611 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.4231, allocations: 425 kB / 0.5616 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.4231, allocations: 54.38 kB / 0.5616 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.4233, allocations: 68.98 kB / 0.5617 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.425, allocations: 1.119 MB / 0.5628 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.425, allocations: 3.938 kB / 0.5628 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.4251, allocations: 28 kB / 0.5628 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.4251, allocations: 16 kB / 0.5628 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.4272, allocations: 1.542 MB / 0.5643 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.4324, allocations: 2.666 MB / 0.5669 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.4339, allocations: 0.8836 MB / 0.5678 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.4345, allocations: 378.6 kB / 0.5681 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00355/0.438, allocations: 1.732 MB / 0.5698 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.438, allocations: 43 kB / 0.5699 GB, free: 5.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.875e-06/0.438, allocations: 7.875 kB / 0.5699 GB, free: 5.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.0144/0.4524, allocations: 3.392 MB / 0.5732 GB, free: 1.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.4525, allocations: 56.06 kB / 0.5732 GB, free: 1.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.4535, allocations: 0.7164 MB / 0.5739 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.4536, allocations: 37.7 kB / 0.574 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.4538, allocations: 352.4 kB / 0.5743 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.4541, allocations: 253.9 kB / 0.5746 GB, free: 304 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.4543, allocations: 150.6 kB / 0.5747 GB, free: 148 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.4546, allocations: 374.8 kB / 0.5751 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.4552, allocations: 457.8 kB / 0.5755 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/0.4561, allocations: 0.6081 MB / 0.5761 GB, free: 14.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.4575, allocations: 0.9893 MB / 0.5771 GB, free: 13.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4575, allocations: 0 / 0.5771 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003899/0.4614, allocations: 1.44 MB / 0.5785 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4615, allocations: 12 kB / 0.5785 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.4615, allocations: 4 kB / 0.5785 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.4634, allocations: 262.3 kB / 0.5787 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.4642, allocations: 195.6 kB / 0.5789 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/0.4695, allocations: 3.73 MB / 0.5826 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.4702, allocations: 28 kB / 0.5826 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/0.4703, allocations: 36.12 kB / 0.5826 GB, free: 7.629 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.0003761/0.4707, allocations: 213.7 kB / 0.5828 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.4708, allocations: 63.58 kB / 0.5829 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.4744, allocations: 1.205 MB / 0.5841 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4744, allocations: 12 kB / 0.5841 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4744, allocations: 0 / 0.5841 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4744, allocations: 3.984 kB / 0.5841 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/0.4794, allocations: 2.049 MB / 0.5861 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4794, allocations: 4.031 kB / 0.5861 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.4799, allocations: 135.8 kB / 0.5862 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/0.4819, allocations: 262.3 kB / 0.5865 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.4819, allocations: 19.98 kB / 0.5865 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00509/0.487, allocations: 3.684 MB / 0.5901 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.487, allocations: 8.016 kB / 0.5901 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.4912, allocations: 1.678 MB / 0.5917 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.4916, allocations: 115.6 kB / 0.5918 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4917, allocations: 23.94 kB / 0.5919 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.4921, allocations: 12 kB / 0.5919 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.4922, allocations: 68.48 kB / 0.5919 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.4923, allocations: 23.98 kB / 0.592 GB, free: 13.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006215/0.4929, allocations: 0.5186 MB / 0.5925 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4929, allocations: 0 / 0.5925 GB, free: 13.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001304/0.4942, allocations: 442.8 kB / 0.5929 GB, free: 12.69 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.005502/0.4997, allocations: 2.661 MB / 0.5955 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.5018, allocations: 1.171 MB / 0.5966 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5018, allocations: 0 / 0.5966 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.5028, allocations: 0.6534 MB / 0.5973 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.5038, allocations: 168.1 kB / 0.5974 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.5183, allocations: 7.967 MB / 0.6052 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.5187, allocations: 314.7 kB / 0.6055 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005654/0.5193, allocations: 133 kB / 0.6056 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.5197, allocations: 283.3 kB / 0.6059 GB, free: 14.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.503e-06/0.5197, allocations: 0 / 0.6059 GB, free: 14.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08972/0.6094, allocations: 26.07 MB / 0.6314 GB, free: 5.105 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.83, allocations: 12 kB / 0.6314 GB, free: 5.094 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.60866890475154] Failed to read output from testmodel.py, exit status != 0: 14.967416216619313 14.990750131 14.567764191 Calling exit ...