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.001276/0.001276, allocations: 108.7 kB / 16.45 MB, free: 6.508 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.0014/0.0014, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] 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.1381/0.1381, allocations: 23.89 MB / 332.7 MB, free: 12.36 MB / 270.1 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: 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.001951/0.001951, allocations: 63.89 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3592, allocations: 59.83 MB / 0.5135 GB, free: 8.414 MB / 382.1 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.03756/0.3968, allocations: 25.32 MB / 0.5383 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.4108, allocations: 10.17 MB / 0.5482 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008984/0.4117, allocations: 11.88 kB / 0.5482 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.4127, allocations: 242.8 kB / 0.5484 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.415, allocations: 0.5762 MB / 0.549 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.4199, allocations: 1.449 MB / 0.5504 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.4217, allocations: 0.9501 MB / 0.5513 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008612/0.4226, allocations: 435.9 kB / 0.5518 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007894/0.4234, allocations: 423.9 kB / 0.5522 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009229/0.4243, allocations: 482.7 kB / 0.5526 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.4246, allocations: 84 kB / 0.5527 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.4282, allocations: 1.048 MB / 0.5537 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.4286, allocations: 194.3 kB / 0.5539 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007226/0.4293, allocations: 433 kB / 0.5543 GB, free: 340 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005058/0.4343, allocations: 2.058 MB / 0.5563 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4343, allocations: 8 kB / 0.5563 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4344, allocations: 0 / 0.5563 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.648e-05/0.4344, allocations: 0 / 0.5563 GB, free: 14.68 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.00339/0.4378, allocations: 1.23 MB / 0.5575 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4378, allocations: 8.031 kB / 0.5576 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.4381, allocations: 115.1 kB / 0.5577 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.4391, allocations: 212.5 kB / 0.5579 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.44, allocations: 489.8 kB / 0.5583 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.4401, allocations: 54.38 kB / 0.5584 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.4403, allocations: 68.33 kB / 0.5584 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.4423, allocations: 1.094 MB / 0.5595 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4423, allocations: 3.938 kB / 0.5595 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.292e-05/0.4424, allocations: 28 kB / 0.5595 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.4424, allocations: 16 kB / 0.5596 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.4449, allocations: 1.506 MB / 0.561 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005519/0.4504, allocations: 3.027 MB / 0.564 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.452, allocations: 0.9509 MB / 0.5649 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.4526, allocations: 354.3 kB / 0.5653 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003936/0.4565, allocations: 2.469 MB / 0.5677 GB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.4565, allocations: 43 kB / 0.5677 GB, free: 3.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.314e-06/0.4565, allocations: 0 / 0.5677 GB, free: 3.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01476/0.4713, allocations: 3.502 MB / 0.5711 GB, free: 15.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.4713, allocations: 59.97 kB / 0.5712 GB, free: 15.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009332/0.4723, allocations: 0.6931 MB / 0.5719 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.4723, allocations: 37.7 kB / 0.5719 GB, free: 14.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.4726, allocations: 356.4 kB / 0.5722 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.4729, allocations: 249.8 kB / 0.5725 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.4731, allocations: 154.5 kB / 0.5726 GB, free: 14.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4733, allocations: 370.8 kB / 0.573 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.474, allocations: 445.8 kB / 0.5734 GB, free: 13.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008211/0.4748, allocations: 0.5963 MB / 0.574 GB, free: 12.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.4763, allocations: 0.9694 MB / 0.5749 GB, free: 11.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4763, allocations: 4 kB / 0.5749 GB, free: 11.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003892/0.4802, allocations: 1.397 MB / 0.5763 GB, free: 10.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4802, allocations: 8 kB / 0.5763 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4802, allocations: 11.97 kB / 0.5763 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/0.4822, allocations: 262.3 kB / 0.5766 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.483, allocations: 195.6 kB / 0.5768 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/0.4885, allocations: 3.964 MB / 0.5806 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.4891, allocations: 24 kB / 0.5806 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.4892, allocations: 40.14 kB / 0.5807 GB, free: 5.402 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.0003581/0.4896, allocations: 204.5 kB / 0.5809 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.4898, allocations: 67.56 kB / 0.5809 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/0.4935, allocations: 1.197 MB / 0.5821 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.4935, allocations: 4 kB / 0.5821 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4935, allocations: 4 kB / 0.5821 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4935, allocations: 3.984 kB / 0.5821 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.4986, allocations: 2.165 MB / 0.5842 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4986, allocations: 8.188 kB / 0.5842 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.4991, allocations: 135.8 kB / 0.5844 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.5011, allocations: 258.3 kB / 0.5846 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/0.5012, allocations: 23.98 kB / 0.5846 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.5063, allocations: 3.907 MB / 0.5885 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5063, allocations: 0 / 0.5885 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/0.5104, allocations: 1.658 MB / 0.5901 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.5108, allocations: 196.7 kB / 0.5903 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.5109, allocations: 19.92 kB / 0.5903 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.5113, allocations: 20 kB / 0.5903 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.5115, allocations: 52.42 kB / 0.5904 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.5115, allocations: 31.98 kB / 0.5904 GB, free: 10.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006514/0.5122, allocations: 0.4991 MB / 0.5909 GB, free: 10.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5122, allocations: 4 kB / 0.5909 GB, free: 10.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001436/0.5136, allocations: 446.9 kB / 0.5913 GB, free: 10.04 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.005479/0.5191, allocations: 2.619 MB / 0.5939 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.5212, allocations: 1.155 MB / 0.595 GB, free: 6.184 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5212, allocations: 0 / 0.595 GB, free: 6.184 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009801/0.5221, allocations: 0.6488 MB / 0.5956 GB, free: 5.504 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.5231, allocations: 168.1 kB / 0.5958 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.538, allocations: 7.868 MB / 0.6035 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.5386, allocations: 0.9187 MB / 0.6044 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005006/0.5391, allocations: 125 kB / 0.6045 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/0.5396, allocations: 291.3 kB / 0.6048 GB, free: 11.86 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5396, allocations: 0 / 0.6048 GB, free: 11.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06672/0.6063, allocations: 24.48 MB / 0.6287 GB, free: 3.531 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.4, allocations: 11.78 kB / 0.6287 GB, free: 3.52 MB / 478.1 MB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 17.087595217861235] Failed to read output from testmodel.py, exit status != 0: 14.512989648850635 14.53527775 14.096795705 Calling exit ...