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.0007154/0.0007154, 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.0007784/0.0007784, 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.8337/0.8337, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.08145/0.08145, allocations: 17.46 MB / 276.6 MB, free: 11.76 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.192e-06/1.192e-06, allocations: 0 / 411.6 MB, free: 244 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.08e-05, allocations: 2.281 kB / 411.6 MB, free: 240 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.01949/0.0195, allocations: 25.33 MB / 436.9 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.14/0.1595, allocations: 8.928 MB / 445.9 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003232/0.1598, allocations: 9.188 kB / 445.9 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.1602, allocations: 226.8 kB / 446.1 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007357/0.161, allocations: 0.5893 MB / 446.7 MB, free: 59.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1629, allocations: 1.504 MB / 448.2 MB, free: 58.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.1634, allocations: 0.9782 MB / 449.2 MB, free: 58.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.1637, allocations: 427 kB / 449.6 MB, free: 58.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.164, allocations: 0.6068 MB / 450.2 MB, free: 58.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1643, allocations: 368.5 kB / 450.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.1643, allocations: 85.97 kB / 450.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000949/0.1653, allocations: 0.9958 MB / 451.6 MB, free: 58.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1654, allocations: 206.9 kB / 451.8 MB, free: 58.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1655, allocations: 303.5 kB / 452.1 MB, free: 58.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.1667, allocations: 2.168 MB / 454.3 MB, free: 57.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1667, allocations: 2.656 kB / 454.3 MB, free: 57.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1667, allocations: 0 / 454.3 MB, free: 57.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1667, allocations: 0 / 454.3 MB, free: 57.59 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.0009581/0.1677, allocations: 1.152 MB / 455.5 MB, free: 56.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1677, allocations: 9 kB / 455.5 MB, free: 56.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.837e-05/0.1678, allocations: 113.5 kB / 455.6 MB, free: 56.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.1682, allocations: 210.1 kB / 455.8 MB, free: 56.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.1685, allocations: 428.8 kB / 456.2 MB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1686, allocations: 58.28 kB / 456.3 MB, free: 56.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.1686, allocations: 70.61 kB / 456.3 MB, free: 56.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.1694, allocations: 1.112 MB / 457.4 MB, free: 55.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1694, allocations: 192 / 457.4 MB, free: 55.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.1695, allocations: 27.06 kB / 457.5 MB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1695, allocations: 19.78 kB / 457.5 MB, free: 55.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1705, allocations: 1.537 MB / 459 MB, free: 55.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.1728, allocations: 2.67 MB / 461.7 MB, free: 54.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.1736, allocations: 0.8999 MB / 462.6 MB, free: 53.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.1738, allocations: 363.6 kB / 462.9 MB, free: 53.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/0.1754, allocations: 1.732 MB / 464.7 MB, free: 52.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.1754, allocations: 40.75 kB / 464.7 MB, free: 52.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 1.392e-06/0.1754, allocations: 0 / 464.7 MB, free: 52.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.006087/0.1815, allocations: 3.39 MB / 468.1 MB, free: 51.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.1815, allocations: 62.05 kB / 468.2 MB, free: 51.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.1819, allocations: 0.7184 MB / 468.9 MB, free: 51.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1819, allocations: 40.8 kB / 468.9 MB, free: 51.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.182, allocations: 354.5 kB / 469.3 MB, free: 50.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.1821, allocations: 247.8 kB / 469.5 MB, free: 50.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.1822, allocations: 154.7 kB / 469.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.1822, allocations: 368.2 kB / 470 MB, free: 50.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1826, allocations: 459.8 kB / 470.5 MB, free: 49.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1829, allocations: 0.6089 MB / 471.1 MB, free: 49.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.1836, allocations: 0.9919 MB / 472.1 MB, free: 49.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1836, allocations: 0 / 472.1 MB, free: 49.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001667/0.1853, allocations: 1.437 MB / 473.5 MB, free: 48.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1853, allocations: 8.969 kB / 473.5 MB, free: 48.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1853, allocations: 6.938 kB / 473.5 MB, free: 48.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008149/0.1861, allocations: 274.4 kB / 473.8 MB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.1865, allocations: 193.3 kB / 474 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.1886, allocations: 3.734 MB / 477.7 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.1889, allocations: 21.38 kB / 477.7 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.1889, allocations: 42.48 kB / 477.8 MB, free: 45.02 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.0001555/0.1891, allocations: 198 kB / 478 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.1891, allocations: 62.06 kB / 478 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.1907, allocations: 1.205 MB / 479.2 MB, free: 44.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1908, allocations: 12.72 kB / 479.3 MB, free: 44.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1908, allocations: 5.375 kB / 479.3 MB, free: 44.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1908, allocations: 3.516 kB / 479.3 MB, free: 44.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.1932, allocations: 2.033 MB / 481.3 MB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1932, allocations: 4.906 kB / 481.3 MB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.1935, allocations: 141.7 kB / 481.4 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008085/0.1943, allocations: 262.1 kB / 481.7 MB, free: 43.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.1943, allocations: 24.86 kB / 481.7 MB, free: 43.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.1962, allocations: 3.676 MB / 485.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1962, allocations: 6.688 kB / 485.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.1982, allocations: 1.672 MB / 487.1 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1983, allocations: 123.7 kB / 487.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.1984, allocations: 14.19 kB / 487.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1986, allocations: 23.72 kB / 487.2 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.1986, allocations: 59.53 kB / 487.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.1987, allocations: 25.58 kB / 487.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00031/0.199, allocations: 0.5153 MB / 487.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.199, allocations: 1.219 kB / 487.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000711/0.1997, allocations: 444.1 kB / 488.3 MB, free: 38.66 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.002622/0.2023, allocations: 2.666 MB / 490.9 MB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2034, allocations: 1.174 MB / 492.1 MB, free: 36.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2034, allocations: 0 / 492.1 MB, free: 36.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.2038, allocations: 0.6544 MB / 492.8 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.2043, allocations: 167.5 kB / 492.9 MB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/0.2117, allocations: 7.899 MB / 0.4891 GB, free: 32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.2119, allocations: 313.6 kB / 0.4894 GB, free: 31.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003145/0.2122, allocations: 132.7 kB / 0.4895 GB, free: 31.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.2125, allocations: 287.7 kB / 0.4898 GB, free: 31.71 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2125, allocations: 0 / 0.4898 GB, free: 31.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.244, allocations: 26.21 MB / 0.5154 GB, free: 13.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.147, allocations: 4.062 kB / 0.5154 GB, free: 13.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest_fmu --startTime=0 --stopTime=0.05 --stepSize=2e-05 --timeout=50 --tolerance=1e-06 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.827624077908695] Failed to read output from testmodel.py, exit status != 0: 8.245030925609171 8.251083023 8.082766383 Calling exit ...