Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.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.001531/0.001531, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001697/0.001697, allocations: 220.2 kB / 22.25 MB, free: 5.254 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.785 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.1298/0.1298, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",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.002041/0.002041, allocations: 78.53 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.31, allocations: 59.85 MB / 0.5185 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006617/0.3166, allocations: 6.77 MB / 0.5251 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02601/0.3426, allocations: 20.57 MB / 0.5452 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.3442, allocations: 24.09 kB / 0.5453 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.3457, allocations: 439 kB / 0.5457 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006965/0.3526, allocations: 1.928 MB / 0.5476 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009226/0.3619, allocations: 2.974 MB / 0.5505 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003979/0.3658, allocations: 2.127 MB / 0.5525 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.3674, allocations: 1.039 MB / 0.5536 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.369, allocations: 1.089 MB / 0.5546 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.3715, allocations: 1.234 MB / 0.5558 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.3719, allocations: 197.4 kB / 0.556 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008941/0.3808, allocations: 2.45 MB / 0.5584 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009936/0.3818, allocations: 483.6 kB / 0.5589 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.3834, allocations: 0.8039 MB / 0.5596 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.3967, allocations: 4.838 MB / 0.5644 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3967, allocations: 0 / 0.5644 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3967, allocations: 0 / 0.5644 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.223e-05/0.3968, allocations: 0 / 0.5644 GB, free: 10.76 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.004827/0.4016, allocations: 2.361 MB / 0.5667 GB, free: 8.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4016, allocations: 8.031 kB / 0.5667 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002611/0.4019, allocations: 211.5 kB / 0.5669 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.4036, allocations: 403.2 kB / 0.5673 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.4054, allocations: 0.8477 MB / 0.5681 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.4056, allocations: 218.2 kB / 0.5683 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/0.4058, allocations: 156.3 kB / 0.5685 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.4091, allocations: 2.06 MB / 0.5705 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.4091, allocations: 3.938 kB / 0.5705 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.4093, allocations: 60 kB / 0.5705 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.4093, allocations: 36 kB / 0.5706 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00408/0.4134, allocations: 2.717 MB / 0.5732 GB, free: 1.547 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.4246, allocations: 5.575 MB / 0.5787 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005492/0.4301, allocations: 2.79 MB / 0.5814 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.4317, allocations: 0.805 MB / 0.5822 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009145/0.4408, allocations: 4 MB / 0.5861 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.4408, allocations: 47.5 kB / 0.5861 GB, free: 4.199 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008743/0.4417, allocations: 203 kB / 0.5863 GB, free: 4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.406e-06/0.4417, allocations: 0 / 0.5863 GB, free: 4 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.0188/0.4605, allocations: 5.178 MB / 0.5914 GB, free: 14.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.4606, allocations: 72.66 kB / 0.5914 GB, free: 14.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.462, allocations: 1.069 MB / 0.5925 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.4621, allocations: 45.7 kB / 0.5925 GB, free: 13.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/0.4627, allocations: 0.6994 MB / 0.5932 GB, free: 12.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005713/0.4633, allocations: 0.4958 MB / 0.5937 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005183/0.4638, allocations: 335.4 kB / 0.594 GB, free: 12.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4639, allocations: 305.1 kB / 0.5943 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.465, allocations: 0.652 MB / 0.5949 GB, free: 11.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.4666, allocations: 1.111 MB / 0.596 GB, free: 9.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.4693, allocations: 1.812 MB / 0.5978 GB, free: 7.738 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.4693, allocations: 4 kB / 0.5978 GB, free: 7.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006297/0.4756, allocations: 2.424 MB / 0.6002 GB, free: 5.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.4756, allocations: 12 kB / 0.6002 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.4757, allocations: 12 kB / 0.6002 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/0.4782, allocations: 498.1 kB / 0.6007 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.4797, allocations: 419.3 kB / 0.6011 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.4849, allocations: 3.643 MB / 0.6046 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.486, allocations: 60.05 kB / 0.6047 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.4862, allocations: 91.97 kB / 0.6048 GB, free: 360 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000601/0.4868, allocations: 333.2 kB / 0.6051 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.4871, allocations: 131.3 kB / 0.6052 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/0.493, allocations: 2.128 MB / 0.6073 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4931, allocations: 20 kB / 0.6073 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4931, allocations: 0 / 0.6073 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.4931, allocations: 7.969 kB / 0.6073 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007574/0.5007, allocations: 3.312 MB / 0.6106 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5007, allocations: 0 / 0.6106 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.5017, allocations: 271.7 kB / 0.6108 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002452/0.5042, allocations: 474.1 kB / 0.6113 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.5043, allocations: 47.95 kB / 0.6113 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004797/0.5091, allocations: 3.538 MB / 0.6148 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5091, allocations: 0 / 0.6148 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006824/0.5159, allocations: 2.754 MB / 0.6175 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.5163, allocations: 115.2 kB / 0.6176 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.5165, allocations: 28 kB / 0.6176 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.5171, allocations: 28 kB / 0.6176 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.5174, allocations: 129.1 kB / 0.6177 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.5176, allocations: 55.97 kB / 0.6178 GB, free: 2.656 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009036/0.5185, allocations: 0.7186 MB / 0.6185 GB, free: 1.926 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5185, allocations: 4 kB / 0.6185 GB, free: 1.922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002622/0.5211, allocations: 0.9545 MB / 0.6194 GB, free: 0.9648 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.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 (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009164/0.5302, allocations: 4.317 MB / 0.6236 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003684/0.5339, allocations: 1.839 MB / 0.6254 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5339, allocations: 4 kB / 0.6254 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.5358, allocations: 0.9817 MB / 0.6264 GB, free: 9.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.537, allocations: 260.6 kB / 0.6267 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/0.5621, allocations: 12.33 MB / 0.6387 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.5628, allocations: 0.6021 MB / 0.6393 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001172/0.5639, allocations: 328.5 kB / 0.6396 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009358/0.5649, allocations: 0.6593 MB / 0.6402 GB, free: 11.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5649, allocations: 3.938 kB / 0.6402 GB, free: 11.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.6653, allocations: 48.63 MB / 0.6877 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.49, allocations: 6.922 kB / 0.6877 GB, free: 10.77 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.13539528500405] Failed to read output from testmodel.py, exit status != 0: 14.635858055989956 14.651053388 14.2511002 Calling exit ...