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.001237/0.001237, allocations: 110.4 kB / 18.94 MB, free: 2.949 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: 221.5 kB / 22.26 MB, free: 5.125 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.969 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.1314/0.1314, allocations: 23.86 MB / 336.3 MB, free: 11.17 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.001896/0.001896, allocations: 67.89 kB / 471.2 MB, free: 7.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2963, allocations: 59.86 MB / 0.5186 GB, free: 9.598 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.03514/0.3315, allocations: 25.33 MB / 0.5433 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.3447, allocations: 10.19 MB / 0.5533 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007986/0.3455, allocations: 11.88 kB / 0.5533 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.3463, allocations: 239.4 kB / 0.5535 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.3478, allocations: 0.5809 MB / 0.5541 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.3519, allocations: 1.469 MB / 0.5555 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.3532, allocations: 0.947 MB / 0.5564 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005669/0.3538, allocations: 432.4 kB / 0.5569 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.3543, allocations: 431.5 kB / 0.5573 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.3551, allocations: 476.6 kB / 0.5577 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.3552, allocations: 84 kB / 0.5578 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003797/0.359, allocations: 1.055 MB / 0.5588 GB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.3592, allocations: 193.7 kB / 0.559 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.3597, allocations: 429.1 kB / 0.5594 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.3632, allocations: 2.062 MB / 0.5614 GB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3632, allocations: 0 / 0.5614 GB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3632, allocations: 0 / 0.5614 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3632, allocations: 0 / 0.5614 GB, free: 13.9 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.002254/0.3655, allocations: 1.162 MB / 0.5626 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3655, allocations: 12.83 kB / 0.5626 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.3657, allocations: 110.4 kB / 0.5627 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.3665, allocations: 213.1 kB / 0.5629 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.3673, allocations: 424.5 kB / 0.5633 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.3674, allocations: 54.38 kB / 0.5633 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3675, allocations: 68.98 kB / 0.5634 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.3692, allocations: 1.119 MB / 0.5645 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3693, allocations: 0 / 0.5645 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.3693, allocations: 28 kB / 0.5645 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.3693, allocations: 23.94 kB / 0.5646 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.3715, allocations: 1.55 MB / 0.5661 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.3764, allocations: 3.009 MB / 0.569 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.3779, allocations: 0.907 MB / 0.5699 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.3784, allocations: 366.6 kB / 0.5702 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003433/0.3818, allocations: 1.829 MB / 0.572 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3819, allocations: 38.94 kB / 0.5721 GB, free: 3.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.663e-06/0.3819, allocations: 0 / 0.5721 GB, free: 3.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01506/0.3969, allocations: 3.395 MB / 0.5754 GB, free: 15.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.397, allocations: 60.06 kB / 0.5754 GB, free: 15.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.3979, allocations: 0.7009 MB / 0.5761 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.398, allocations: 37.7 kB / 0.5762 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.3983, allocations: 356.4 kB / 0.5765 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.3985, allocations: 257.8 kB / 0.5767 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.3987, allocations: 158.5 kB / 0.5769 GB, free: 14.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3989, allocations: 362.8 kB / 0.5772 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.3996, allocations: 461.8 kB / 0.5777 GB, free: 13.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.4003, allocations: 0.6042 MB / 0.5783 GB, free: 12.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.4017, allocations: 0.9971 MB / 0.5792 GB, free: 11.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4017, allocations: 4 kB / 0.5793 GB, free: 11.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003902/0.4056, allocations: 1.437 MB / 0.5807 GB, free: 10.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.4057, allocations: 8 kB / 0.5807 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4057, allocations: 4 kB / 0.5807 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.4078, allocations: 270.2 kB / 0.5809 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.4086, allocations: 187.7 kB / 0.5811 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.414, allocations: 3.764 MB / 0.5848 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/0.4146, allocations: 20 kB / 0.5848 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.4147, allocations: 35.98 kB / 0.5848 GB, free: 5.59 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.0003483/0.4151, allocations: 218.2 kB / 0.585 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4152, allocations: 63.58 kB / 0.5851 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.4189, allocations: 1.209 MB / 0.5863 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4189, allocations: 8 kB / 0.5863 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.4189, allocations: 3.938 kB / 0.5863 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4189, allocations: 7.984 kB / 0.5863 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004905/0.4238, allocations: 2.158 MB / 0.5884 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4239, allocations: 4 kB / 0.5884 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.4244, allocations: 132 kB / 0.5885 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.4264, allocations: 266.3 kB / 0.5888 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/0.4265, allocations: 27.98 kB / 0.5888 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.4315, allocations: 3.708 MB / 0.5924 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4315, allocations: 0 / 0.5924 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.4356, allocations: 1.678 MB / 0.5941 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.4359, allocations: 119.6 kB / 0.5942 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.436, allocations: 23.94 kB / 0.5942 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.4364, allocations: 19.98 kB / 0.5942 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.4365, allocations: 60.55 kB / 0.5943 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.4365, allocations: 20 kB / 0.5943 GB, free: 11.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005766/0.4371, allocations: 0.5147 MB / 0.5948 GB, free: 10.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4371, allocations: 0 / 0.5948 GB, free: 10.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001248/0.4384, allocations: 446.8 kB / 0.5952 GB, free: 10.5 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.005308/0.4437, allocations: 2.658 MB / 0.5978 GB, free: 7.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.4457, allocations: 1.17 MB / 0.599 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4457, allocations: 0 / 0.599 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009235/0.4466, allocations: 0.6585 MB / 0.5996 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/0.4475, allocations: 168.8 kB / 0.5998 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.4615, allocations: 7.971 MB / 0.6076 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.4621, allocations: 0.9032 MB / 0.6084 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004804/0.4626, allocations: 137 kB / 0.6086 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.463, allocations: 283.3 kB / 0.6088 GB, free: 12.18 MB / 462.1 MB Notification: Performance of SimCode: time 6.82e-07/0.463, allocations: 0 / 0.6088 GB, free: 12.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06533/0.5283, allocations: 25.16 MB / 0.6334 GB, free: 3.176 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/14.92, allocations: 3.938 kB / 0.6334 GB, free: 3.172 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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.54199835399777] Failed to read output from testmodel.py, exit status != 0: 15.043877287993382 15.058974108 14.692703012 Calling exit ...