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.001238/0.001238, 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.001405/0.001405, allocations: 221.2 kB / 22.25 MB, free: 5.254 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 7.82 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.123/0.123, allocations: 23.88 MB / 336.3 MB, free: 10.99 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.001915/0.001915, allocations: 71.89 kB / 471.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2749, allocations: 59.85 MB / 0.5185 GB, free: 9.52 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.06558/0.3405, allocations: 25.02 MB / 0.543 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.3524, allocations: 8.926 MB / 0.5517 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005618/0.3529, allocations: 11.94 kB / 0.5517 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.3536, allocations: 218.4 kB / 0.5519 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.3549, allocations: 0.5714 MB / 0.5525 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.3583, allocations: 1.469 MB / 0.5539 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.3593, allocations: 0.9456 MB / 0.5548 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.3599, allocations: 429.9 kB / 0.5552 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.3603, allocations: 428 kB / 0.5556 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.3609, allocations: 484.5 kB / 0.5561 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.361, allocations: 84 kB / 0.5562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.3631, allocations: 1.012 MB / 0.5572 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.3633, allocations: 197.7 kB / 0.5574 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.3637, allocations: 361.7 kB / 0.5577 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.3665, allocations: 2.053 MB / 0.5597 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3665, allocations: 0 / 0.5597 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3665, allocations: 0 / 0.5597 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3665, 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.002046/0.3686, allocations: 1.162 MB / 0.5608 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3686, allocations: 12.73 kB / 0.5609 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.3688, allocations: 110.7 kB / 0.561 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/0.3695, allocations: 208.5 kB / 0.5612 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.3702, allocations: 429.1 kB / 0.5616 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.3703, allocations: 58.36 kB / 0.5616 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.3704, allocations: 68.94 kB / 0.5617 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.372, allocations: 1.119 MB / 0.5628 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.372, allocations: 0 / 0.5628 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.372, allocations: 28 kB / 0.5628 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.3721, allocations: 16 kB / 0.5628 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.374, allocations: 1.538 MB / 0.5643 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004656/0.3787, allocations: 2.666 MB / 0.5669 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.3802, allocations: 0.8913 MB / 0.5678 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.3807, allocations: 370.6 kB / 0.5682 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003322/0.384, allocations: 1.732 MB / 0.5698 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.384, allocations: 42.94 kB / 0.5699 GB, free: 5.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.275e-06/0.384, allocations: 0 / 0.5699 GB, free: 5.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01305/0.3971, allocations: 3.386 MB / 0.5732 GB, free: 1.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3971, allocations: 64.06 kB / 0.5733 GB, free: 1.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.3979, allocations: 0.7203 MB / 0.574 GB, free: 0.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.398, allocations: 37.7 kB / 0.574 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.3982, allocations: 352.4 kB / 0.5743 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.3984, allocations: 253.8 kB / 0.5746 GB, free: 324 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.3987, allocations: 154.6 kB / 0.5747 GB, free: 164 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3988, allocations: 370.8 kB / 0.5751 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006196/0.3995, allocations: 453.8 kB / 0.5755 GB, free: 15.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/0.4002, allocations: 0.6081 MB / 0.5761 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.4015, allocations: 0.9971 MB / 0.5771 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4015, allocations: 3.938 kB / 0.5771 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003477/0.405, allocations: 1.433 MB / 0.5785 GB, free: 12.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.405, allocations: 4 kB / 0.5785 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.405, allocations: 8 kB / 0.5785 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.4069, allocations: 270.2 kB / 0.5787 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.4076, allocations: 199.6 kB / 0.5789 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.4125, allocations: 3.726 MB / 0.5826 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.413, allocations: 24 kB / 0.5826 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.4131, allocations: 35.98 kB / 0.5826 GB, free: 7.652 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.0003093/0.4134, allocations: 209.5 kB / 0.5828 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.4135, allocations: 67.58 kB / 0.5829 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/0.4169, allocations: 1.213 MB / 0.5841 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4169, allocations: 8 kB / 0.5841 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4169, allocations: 0 / 0.5841 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.4169, allocations: 3.984 kB / 0.5841 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/0.4215, allocations: 2.045 MB / 0.5861 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4215, allocations: 4 kB / 0.5861 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.422, allocations: 135.8 kB / 0.5862 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.4238, allocations: 266.6 kB / 0.5865 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.4239, allocations: 23.98 kB / 0.5865 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004617/0.4285, allocations: 3.681 MB / 0.5901 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.4285, allocations: 8.016 kB / 0.5901 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/0.4323, allocations: 1.678 MB / 0.5917 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.4326, allocations: 119.6 kB / 0.5919 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.4327, allocations: 15.94 kB / 0.5919 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.4331, allocations: 20 kB / 0.5919 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4332, allocations: 56.55 kB / 0.5919 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.4333, allocations: 35.92 kB / 0.592 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005773/0.4338, allocations: 0.5147 MB / 0.5925 GB, free: 13.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4338, allocations: 0 / 0.5925 GB, free: 13.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00117/0.435, allocations: 450.8 kB / 0.5929 GB, free: 12.7 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.004792/0.4398, allocations: 2.651 MB / 0.5955 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4416, allocations: 1.17 MB / 0.5966 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4416, allocations: 3.938 kB / 0.5966 GB, free: 8.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008957/0.4425, allocations: 0.6585 MB / 0.5973 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.4433, allocations: 164.2 kB / 0.5974 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.4563, allocations: 7.956 MB / 0.6052 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4566, allocations: 318.7 kB / 0.6055 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004539/0.457, allocations: 141 kB / 0.6056 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.4575, allocations: 283.3 kB / 0.6059 GB, free: 14.99 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4575, allocations: 0 / 0.6059 GB, free: 14.99 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06422/0.5217, allocations: 26.33 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.68, allocations: 0 / 0.6316 GB, free: 4.871 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.214277482999023] Failed to read output from testmodel.py, exit status != 0: 13.811759566975525 13.83671537 13.466069841 Calling exit ...