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.001637/0.001637, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002063/0.002063, allocations: 218.3 kB / 22.25 MB, free: 5.102 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.793 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.152/0.152, allocations: 23.87 MB / 336.3 MB, free: 10.98 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.002138/0.002138, allocations: 67.91 kB / 471.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.37, allocations: 59.85 MB / 0.5185 GB, free: 9.559 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.07094/0.4409, allocations: 24.98 MB / 0.5429 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.4551, allocations: 8.939 MB / 0.5516 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007631/0.4558, allocations: 15.88 kB / 0.5517 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007364/0.4566, allocations: 206.4 kB / 0.5519 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.4582, allocations: 0.5745 MB / 0.5524 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.4623, allocations: 1.464 MB / 0.5539 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.4638, allocations: 0.9434 MB / 0.5548 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006092/0.4644, allocations: 437.3 kB / 0.5552 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.4649, allocations: 439.8 kB / 0.5556 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007368/0.4657, allocations: 477 kB / 0.5561 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.4658, allocations: 84 kB / 0.5561 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.4686, allocations: 1.011 MB / 0.5571 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.4688, allocations: 186.4 kB / 0.5573 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.4692, allocations: 369.3 kB / 0.5577 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.4736, allocations: 2.05 MB / 0.5597 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4736, allocations: 0.7031 kB / 0.5597 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4736, allocations: 0 / 0.5597 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.4736, allocations: 0 / 0.5597 GB, free: 15.45 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.002843/0.4764, allocations: 1.166 MB / 0.5608 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4765, allocations: 8.031 kB / 0.5608 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.4766, allocations: 106.9 kB / 0.5609 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009382/0.4776, allocations: 212.4 kB / 0.5611 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008389/0.4784, allocations: 433 kB / 0.5615 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.4785, allocations: 50.38 kB / 0.5616 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4786, allocations: 72.84 kB / 0.5616 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.4806, allocations: 1.117 MB / 0.5627 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4806, allocations: 0 / 0.5627 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.4807, allocations: 28 kB / 0.5628 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.4807, allocations: 19.98 kB / 0.5628 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.483, allocations: 1.534 MB / 0.5643 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/0.4882, allocations: 2.674 MB / 0.5669 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.4898, allocations: 0.8875 MB / 0.5678 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.4904, allocations: 374.5 kB / 0.5681 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003849/0.4942, allocations: 1.724 MB / 0.5698 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4942, allocations: 38.94 kB / 0.5698 GB, free: 5.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.294e-06/0.4942, allocations: 4 kB / 0.5698 GB, free: 5.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01722/0.5115, allocations: 3.4 MB / 0.5732 GB, free: 1.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.5115, allocations: 56.06 kB / 0.5732 GB, free: 1.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009474/0.5125, allocations: 0.7203 MB / 0.5739 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.5125, allocations: 37.7 kB / 0.574 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.5128, allocations: 356.4 kB / 0.5743 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.5131, allocations: 245.9 kB / 0.5745 GB, free: 336 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.5133, allocations: 154.6 kB / 0.5747 GB, free: 176 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.5136, allocations: 370.8 kB / 0.575 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.5143, allocations: 461.8 kB / 0.5755 GB, free: 15.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/0.5151, allocations: 0.6081 MB / 0.5761 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.5166, allocations: 0.9971 MB / 0.577 GB, free: 13.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5166, allocations: 0 / 0.577 GB, free: 13.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004433/0.521, allocations: 1.433 MB / 0.5784 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5211, allocations: 8 kB / 0.5784 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.5211, allocations: 4 kB / 0.5784 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/0.5237, allocations: 270.2 kB / 0.5787 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/0.5246, allocations: 191.7 kB / 0.5789 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.5306, allocations: 3.729 MB / 0.5825 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.5314, allocations: 31.98 kB / 0.5826 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5315, allocations: 39.98 kB / 0.5826 GB, free: 7.656 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.0004373/0.532, allocations: 205.5 kB / 0.5828 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.5321, allocations: 63.58 kB / 0.5829 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.5363, allocations: 1.209 MB / 0.584 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.5363, allocations: 11.94 kB / 0.584 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5363, allocations: 0 / 0.584 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5363, allocations: 3.984 kB / 0.5841 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/0.5418, allocations: 2.049 MB / 0.5861 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5418, allocations: 0 / 0.5861 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.5425, allocations: 148 kB / 0.5862 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/0.5448, allocations: 254.4 kB / 0.5864 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.5449, allocations: 27.97 kB / 0.5865 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00549/0.5504, allocations: 3.688 MB / 0.5901 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5504, allocations: 7.875 kB / 0.5901 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/0.5551, allocations: 1.674 MB / 0.5917 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.5554, allocations: 119.6 kB / 0.5918 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5556, allocations: 23.92 kB / 0.5918 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.556, allocations: 16 kB / 0.5919 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.5562, allocations: 60.48 kB / 0.5919 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.5562, allocations: 27.98 kB / 0.5919 GB, free: 13.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006333/0.5569, allocations: 0.5108 MB / 0.5924 GB, free: 13.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5569, allocations: 4 kB / 0.5924 GB, free: 13.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001436/0.5583, 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.006309/0.5646, allocations: 2.647 MB / 0.5955 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.5669, allocations: 1.166 MB / 0.5966 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5669, allocations: 0 / 0.5966 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.568, allocations: 0.6586 MB / 0.5972 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5692, allocations: 160.5 kB / 0.5974 GB, free: 7.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.5853, allocations: 7.967 MB / 0.6052 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.5857, allocations: 322.6 kB / 0.6055 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005272/0.5862, allocations: 132.2 kB / 0.6056 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.5867, allocations: 287.3 kB / 0.6059 GB, free: 15 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5867, allocations: 0 / 0.6059 GB, free: 15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06951/0.6562, allocations: 26.32 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.53, allocations: 0 / 0.6316 GB, free: 4.883 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 & /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 os._exit(0), Time elapsed: 17.371382746001473] Failed to read output from testmodel.py, exit status != 0: 14.661072037997656 14.676244218 14.199596148 Calling exit ...