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.001444/0.001444, allocations: 120 kB / 17.17 MB, free: 5.977 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.001455/0.001455, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1423/0.1423, allocations: 23.86 MB / 333.4 MB, free: 1.227 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",fmuType="cs",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.001961/0.001961, allocations: 63.84 kB / 466.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1027, allocations: 59.83 MB / 0.5142 GB, free: 13.01 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.03743/0.1401, allocations: 25.13 MB / 0.5387 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.1531, allocations: 10.16 MB / 0.5486 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000584/0.1537, allocations: 11.88 kB / 0.5486 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.1544, allocations: 242.2 kB / 0.5489 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.1557, allocations: 0.5663 MB / 0.5494 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.1592, allocations: 1.46 MB / 0.5509 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.1604, allocations: 0.9467 MB / 0.5518 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005378/0.1609, allocations: 433 kB / 0.5522 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004742/0.1614, allocations: 426.8 kB / 0.5526 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.162, allocations: 474.3 kB / 0.5531 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1621, allocations: 84 kB / 0.5531 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.1648, allocations: 1.061 MB / 0.5542 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.165, allocations: 199.3 kB / 0.5544 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.1654, allocations: 430 kB / 0.5548 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.1686, allocations: 2.05 MB / 0.5568 GB, free: 1.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1686, allocations: 0 / 0.5568 GB, free: 1.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1686, allocations: 0 / 0.5568 GB, free: 1.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1686, allocations: 3.938 kB / 0.5568 GB, free: 1.34 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.002295/0.1709, allocations: 1.238 MB / 0.558 GB, free: 48 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1709, allocations: 16.03 kB / 0.558 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.837e-05/0.1709, allocations: 18.19 kB / 0.558 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.1711, allocations: 110.7 kB / 0.5581 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008436/0.1719, allocations: 212 kB / 0.5583 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/0.1727, allocations: 498 kB / 0.5588 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.1727, allocations: 50.38 kB / 0.5588 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.1728, allocations: 72.33 kB / 0.5589 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.1745, allocations: 1.083 MB / 0.56 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1745, allocations: 4 kB / 0.56 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.1746, allocations: 28 kB / 0.56 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.1746, allocations: 16 kB / 0.56 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.1769, allocations: 1.511 MB / 0.5615 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005515/0.1825, allocations: 3.014 MB / 0.5644 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.184, allocations: 0.9659 MB / 0.5654 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.1846, allocations: 354.4 kB / 0.5657 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003905/0.1885, allocations: 2.465 MB / 0.5681 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1885, allocations: 31 kB / 0.5682 GB, free: 5.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.1885, allocations: 0 / 0.5682 GB, free: 5.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.01533/0.2038, allocations: 3.509 MB / 0.5716 GB, free: 1.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2039, allocations: 59.97 kB / 0.5716 GB, free: 1.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.2048, allocations: 0.6892 MB / 0.5723 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/0.2049, allocations: 37.7 kB / 0.5724 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.2051, allocations: 360.4 kB / 0.5727 GB, free: 496 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.2054, allocations: 245.9 kB / 0.5729 GB, free: 248 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.2057, allocations: 158.5 kB / 0.5731 GB, free: 80 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.2059, allocations: 370.8 kB / 0.5734 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006759/0.2065, allocations: 445.8 kB / 0.5739 GB, free: 15.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.2073, allocations: 0.5847 MB / 0.5744 GB, free: 14.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.2088, allocations: 0.9771 MB / 0.5754 GB, free: 13.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2088, allocations: 0 / 0.5754 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003983/0.2128, allocations: 1.409 MB / 0.5768 GB, free: 12.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.2128, allocations: 4 kB / 0.5768 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.2128, allocations: 4 kB / 0.5768 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.2149, allocations: 270.2 kB / 0.577 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/0.2157, allocations: 191.7 kB / 0.5772 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.2213, allocations: 3.975 MB / 0.5811 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006811/0.222, allocations: 20 kB / 0.5811 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/0.2221, allocations: 35.98 kB / 0.5811 GB, free: 7.367 MB / 446.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.0003837/0.2225, allocations: 209.6 kB / 0.5813 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.2227, allocations: 67.73 kB / 0.5814 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.2264, allocations: 1.181 MB / 0.5826 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.2264, allocations: 12 kB / 0.5826 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2264, allocations: 0 / 0.5826 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.2264, allocations: 3.984 kB / 0.5826 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/0.2315, allocations: 2.165 MB / 0.5847 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2315, allocations: 0 / 0.5847 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.2321, allocations: 135.8 kB / 0.5848 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/0.2342, allocations: 258.5 kB / 0.5851 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/0.2342, allocations: 27.98 kB / 0.5851 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2292/0.4634, allocations: 3.906 MB / 0.5889 GB, free: 64.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4634, allocations: 5.047 kB / 0.5889 GB, free: 64.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/0.4676, allocations: 1.648 MB / 0.5905 GB, free: 63.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.4679, allocations: 200.6 kB / 0.5907 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.468, allocations: 19.09 kB / 0.5907 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.4684, allocations: 13.5 kB / 0.5907 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.4686, allocations: 62.25 kB / 0.5908 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.4686, allocations: 25.72 kB / 0.5908 GB, free: 63.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007109/0.4694, allocations: 0.5061 MB / 0.5913 GB, free: 63.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4694, allocations: 0.8125 kB / 0.5913 GB, free: 63.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001458/0.4708, allocations: 441.7 kB / 0.5917 GB, free: 63.68 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.00536/0.4762, allocations: 2.634 MB / 0.5943 GB, free: 62.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.4783, allocations: 1.147 MB / 0.5954 GB, free: 62.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4783, allocations: 0.875 kB / 0.5954 GB, free: 62.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.4792, allocations: 0.647 MB / 0.5961 GB, free: 61.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009677/0.4802, allocations: 159.2 kB / 0.5962 GB, free: 61.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.4934, allocations: 7.879 MB / 0.6039 GB, free: 57.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4938, allocations: 0.9097 MB / 0.6048 GB, free: 56.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005517/0.4944, allocations: 128.7 kB / 0.6049 GB, free: 56.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.4948, allocations: 285.8 kB / 0.6052 GB, free: 56.72 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4948, allocations: 2.656 kB / 0.6052 GB, free: 56.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/0.5444, allocations: 24.51 MB / 0.6291 GB, free: 41.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.57, allocations: 7.344 kB / 0.6291 GB, free: 41.13 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest_fmu --startTime=0 --stopTime=0.05 --stepSize=2e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.520862421020865] Failed to read output from testmodel.py, exit status != 0: 15.737866359006148 15.752155007 15.580749575 Calling exit ...