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.0008346/0.0008346, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007933/0.0007933, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9069/0.9069, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.08783/0.08783, allocations: 17.38 MB / 276.6 MB, free: 11.85 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 411.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.362e-05, allocations: 3.375 kB / 411.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.005461/0.005485, allocations: 6.729 MB / 418.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.02345, allocations: 20.57 MB / 438.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.02517, allocations: 28.12 kB / 438.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.02677, allocations: 447.5 kB / 439.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.03342, allocations: 1.986 MB / 441.2 MB, free: 9.273 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008306/0.04172, allocations: 3.062 MB / 444.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.04523, allocations: 2.205 MB / 446.5 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.04657, allocations: 1.024 MB / 447.5 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.04816, allocations: 1.493 MB / 449 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.04962, allocations: 1.009 MB / 450 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.04988, allocations: 192.8 kB / 450.2 MB, free: 3.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005595/0.05547, allocations: 2.413 MB / 452.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.05604, allocations: 482.5 kB / 453.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.05711, allocations: 0.6978 MB / 453.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009498/0.06661, allocations: 5.149 MB / 458.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.06662, allocations: 0 / 458.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.06662, allocations: 4 kB / 458.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.145e-05/0.06665, allocations: 4 kB / 458.9 MB, free: 10.62 MB / 362.7 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.00325/0.0699, allocations: 2.345 MB / 461.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.06995, allocations: 15.97 kB / 461.3 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.07014, allocations: 215.5 kB / 461.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.07124, allocations: 399.1 kB / 461.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.07234, allocations: 0.8392 MB / 462.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.07249, allocations: 214.3 kB / 462.9 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.07267, allocations: 152.3 kB / 463.1 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.07502, allocations: 2.065 MB / 465.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.07504, allocations: 192 / 465.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.07516, allocations: 59.94 kB / 465.2 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.07518, allocations: 36 kB / 465.2 MB, free: 4.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.07825, allocations: 2.709 MB / 467.9 MB, free: 1.445 MB / 362.7 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.007721/0.08598, allocations: 5.586 MB / 473.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.08915, allocations: 2.787 MB / 476.3 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009001/0.09005, allocations: 0.8118 MB / 477.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005347/0.0954, allocations: 3.987 MB / 481.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.09543, allocations: 43.56 kB / 481.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005477/0.09598, allocations: 207 kB / 481.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 3.026e-06/0.09598, allocations: 0 / 481.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.01097/0.1069, allocations: 5.193 MB / 486.6 MB, free: 14.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.107, allocations: 76.66 kB / 486.6 MB, free: 14.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.108, allocations: 1.069 MB / 487.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.1082, allocations: 49.7 kB / 487.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.1085, allocations: 0.6916 MB / 488.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.1088, allocations: 0.4918 MB / 488.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.1092, allocations: 335.4 kB / 489.3 MB, free: 11.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.1093, allocations: 301.1 kB / 489.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008132/0.1101, allocations: 0.6559 MB / 490.2 MB, free: 10.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/0.1111, allocations: 1.123 MB / 491.3 MB, free: 9.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.1129, allocations: 1.804 MB / 493.1 MB, free: 7.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1129, allocations: 4 kB / 493.1 MB, free: 7.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003812/0.1167, allocations: 2.42 MB / 495.6 MB, free: 5.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.1167, allocations: 12.12 kB / 495.6 MB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.1167, allocations: 16 kB / 495.6 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.1181, allocations: 495.6 kB / 496.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/0.119, allocations: 411.4 kB / 496.5 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.1223, allocations: 3.638 MB / 0.4884 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/0.1233, allocations: 55.98 kB / 0.4884 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.1234, allocations: 95.97 kB / 0.4885 GB, free: 280 kB / 394.7 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.0005654/0.124, allocations: 337.3 kB / 0.4889 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.1242, allocations: 127.2 kB / 0.489 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/0.1277, allocations: 2.124 MB / 0.4911 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1277, allocations: 16 kB / 0.4911 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1277, allocations: 0 / 0.4911 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.1277, allocations: 11.91 kB / 0.4911 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/0.133, allocations: 3.305 MB / 0.4943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.133, allocations: 0 / 0.4943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.1336, allocations: 275.6 kB / 0.4946 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.1348, allocations: 470.1 kB / 0.495 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/0.1349, allocations: 51.95 kB / 0.4951 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/0.1378, allocations: 3.53 MB / 0.4985 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1378, allocations: 3.938 kB / 0.4985 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.142, allocations: 2.746 MB / 0.5012 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.1423, allocations: 115.2 kB / 0.5013 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.1424, allocations: 27.98 kB / 0.5013 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.1428, allocations: 40.06 kB / 0.5014 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.143, allocations: 129.1 kB / 0.5015 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/0.1431, allocations: 55.97 kB / 0.5015 GB, free: 2.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006477/0.1437, allocations: 0.7186 MB / 0.5023 GB, free: 1.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1437, allocations: 0 / 0.5023 GB, free: 1.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002102/0.1458, allocations: 0.9545 MB / 0.5032 GB, free: 0.9023 MB / 410.7 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.005906/0.1518, allocations: 4.354 MB / 0.5074 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.1543, allocations: 1.83 MB / 0.5092 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1543, allocations: 5.875 kB / 0.5092 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.1555, allocations: 0.9856 MB / 0.5102 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/0.1565, allocations: 263.8 kB / 0.5104 GB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.1722, allocations: 12.27 MB / 0.5224 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.1726, allocations: 0.606 MB / 0.523 GB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008721/0.1735, allocations: 323.9 kB / 0.5233 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/0.1741, allocations: 0.6642 MB / 0.524 GB, free: 10.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1741, allocations: 0 / 0.524 GB, free: 10.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06488/0.239, allocations: 48.31 MB / 0.5711 GB, free: 11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.029/9.268, allocations: 6.953 kB / 0.5712 GB, free: 11 MB / 490.7 MB " [Timeout remaining time 650] (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: 11.485489307902753] Failed to read output from testmodel.py, exit status != 0: 9.538678312674165 9.556062077 9.485710739 Calling exit ...