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.0007462/0.0007462, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001175/0.001175, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8122/0.8122, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.07781/0.07781, allocations: 17.44 MB / 276.6 MB, free: 11.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 411.6 MB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.519e-05, allocations: 6.281 kB / 411.6 MB, free: 244 kB / 378.7 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.021/0.02102, allocations: 25.34 MB / 437 MB, free: 6.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1523/0.1733, allocations: 8.927 MB / 445.9 MB, free: 59.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004137/0.1738, allocations: 11.72 kB / 445.9 MB, free: 59.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.1742, allocations: 222.7 kB / 446.1 MB, free: 59.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009196/0.1752, allocations: 0.5908 MB / 446.7 MB, free: 59.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.1773, allocations: 1.506 MB / 448.2 MB, free: 58.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.1779, allocations: 0.981 MB / 449.2 MB, free: 58.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.1782, allocations: 425.9 kB / 449.6 MB, free: 58.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.1785, allocations: 0.5994 MB / 450.2 MB, free: 58.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1788, allocations: 371 kB / 450.6 MB, free: 58.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.1789, allocations: 87.19 kB / 450.6 MB, free: 58.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.1798, allocations: 0.9963 MB / 451.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1799, allocations: 198.9 kB / 451.8 MB, free: 58.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1801, allocations: 311.6 kB / 452.1 MB, free: 58.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1812, allocations: 2.169 MB / 454.3 MB, free: 57.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1812, allocations: 0 / 454.3 MB, free: 57.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1812, allocations: 0 / 454.3 MB, free: 57.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1813, allocations: 0 / 454.3 MB, free: 57.62 MB / 410.7 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.001031/0.1823, allocations: 1.15 MB / 455.5 MB, free: 56.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1823, allocations: 9.875 kB / 455.5 MB, free: 56.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.212e-05/0.1824, allocations: 110.2 kB / 455.6 MB, free: 56.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.1828, allocations: 208.8 kB / 455.8 MB, free: 56.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.1832, allocations: 433.4 kB / 456.2 MB, free: 56.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1832, allocations: 49.62 kB / 456.3 MB, free: 56.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.1833, allocations: 73.02 kB / 456.3 MB, free: 56.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000855/0.1841, allocations: 1.113 MB / 457.4 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1842, allocations: 2.875 kB / 457.4 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.1842, allocations: 26.72 kB / 457.5 MB, free: 55.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.1842, allocations: 19.44 kB / 457.5 MB, free: 55.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1853, allocations: 1.544 MB / 459 MB, free: 55.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.1877, allocations: 2.667 MB / 461.7 MB, free: 54.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.1884, allocations: 0.9002 MB / 462.6 MB, free: 53.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.1887, allocations: 361.8 kB / 463 MB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.1903, allocations: 1.728 MB / 464.7 MB, free: 52.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.1903, allocations: 38 kB / 464.7 MB, free: 52.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 1.333e-06/0.1903, allocations: 0 / 464.7 MB, free: 52.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.006098/0.1964, allocations: 3.405 MB / 468.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1964, allocations: 58.69 kB / 468.2 MB, free: 51.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.1968, allocations: 0.7209 MB / 468.9 MB, free: 51.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1969, allocations: 39.48 kB / 468.9 MB, free: 51.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.197, allocations: 352.9 kB / 469.3 MB, free: 50.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.529e-05/0.197, allocations: 247.7 kB / 469.5 MB, free: 50.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1972, allocations: 152.8 kB / 469.7 MB, free: 50.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.1972, allocations: 367.3 kB / 470 MB, free: 50.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.1976, allocations: 461.5 kB / 470.5 MB, free: 49.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.1979, allocations: 0.6023 MB / 471.1 MB, free: 49.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.1986, allocations: 0.9997 MB / 472.1 MB, free: 49.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1986, allocations: 2.969 kB / 472.1 MB, free: 49.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001693/0.2003, allocations: 1.44 MB / 473.5 MB, free: 48.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2003, allocations: 5.906 kB / 473.5 MB, free: 48.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2003, allocations: 9.75 kB / 473.5 MB, free: 48.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008082/0.2011, allocations: 272.6 kB / 473.8 MB, free: 48.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.2015, allocations: 189 kB / 474 MB, free: 48.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.2036, allocations: 3.723 MB / 477.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.2038, allocations: 27.72 kB / 477.7 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.2039, allocations: 41.16 kB / 477.8 MB, free: 45.06 MB / 410.7 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.0001604/0.204, allocations: 203.2 kB / 478 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.2041, allocations: 62.09 kB / 478 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2057, allocations: 1.206 MB / 479.2 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2057, allocations: 9.969 kB / 479.3 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2057, allocations: 2.844 kB / 479.3 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2057, allocations: 3.422 kB / 479.3 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.208, allocations: 2.043 MB / 481.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.208, allocations: 1.062 kB / 481.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.2083, allocations: 136.2 kB / 481.4 MB, free: 43.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007902/0.2091, allocations: 263.2 kB / 481.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.2091, allocations: 20.42 kB / 481.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.2111, allocations: 3.679 MB / 485.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2111, allocations: 5.312 kB / 485.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.213, allocations: 1.68 MB / 487.1 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.2132, allocations: 125.1 kB / 487.2 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.2132, allocations: 13.81 kB / 487.2 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.2134, allocations: 13.28 kB / 487.2 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.2135, allocations: 65.12 kB / 487.3 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.2135, allocations: 25.75 kB / 487.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000327/0.2139, allocations: 0.5166 MB / 487.8 MB, free: 38.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2139, allocations: 2.656 kB / 487.8 MB, free: 38.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007427/0.2146, allocations: 443.8 kB / 488.3 MB, free: 38.7 MB / 410.7 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.002609/0.2172, allocations: 2.662 MB / 490.9 MB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.2183, allocations: 1.169 MB / 492.1 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2183, allocations: 3.938 kB / 492.1 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.2188, allocations: 0.6533 MB / 492.8 MB, free: 36.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.2192, allocations: 172.3 kB / 492.9 MB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/0.2267, allocations: 7.893 MB / 0.4891 GB, free: 32.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.2269, allocations: 316.2 kB / 0.4894 GB, free: 31.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.2273, allocations: 136.5 kB / 0.4895 GB, free: 31.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.2275, allocations: 289.9 kB / 0.4898 GB, free: 31.74 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2275, allocations: 2.281 kB / 0.4898 GB, free: 31.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.2583, allocations: 26.2 MB / 0.5154 GB, free: 13.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.217, allocations: 3.594 kB / 0.5154 GB, free: 13.94 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.937592839822173] Failed to read output from testmodel.py, exit status != 0: 8.314873278141022 8.320599322 8.138039775 Calling exit ...