Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001718/0.001718, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.002017/0.002017, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1432/0.1432, allocations: 23.89 MB / 332.7 MB, free: 12.32 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_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.002031/0.002031, allocations: 63.91 kB / 466 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3512, allocations: 59.83 MB / 0.5135 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008633/0.3598, allocations: 7.613 MB / 0.521 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03106/0.3909, allocations: 23.46 MB / 0.5439 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.3924, allocations: 23.19 kB / 0.5439 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.3942, allocations: 483 kB / 0.5444 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007223/0.4014, allocations: 1.956 MB / 0.5463 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.4117, allocations: 2.946 MB / 0.5492 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004249/0.4159, allocations: 2.133 MB / 0.5512 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.4179, allocations: 1.062 MB / 0.5523 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.4203, allocations: 1.083 MB / 0.5533 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.4234, allocations: 1.245 MB / 0.5545 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006095/0.424, allocations: 193.1 kB / 0.5547 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.4351, allocations: 2.545 MB / 0.5572 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009769/0.4361, allocations: 475.4 kB / 0.5577 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.4378, allocations: 0.9519 MB / 0.5586 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.4515, allocations: 4.845 MB / 0.5633 GB, free: 7.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4515, allocations: 5.312 kB / 0.5633 GB, free: 7.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4515, allocations: 0 / 0.5633 GB, free: 7.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.973e-05/0.4516, allocations: 4 kB / 0.5633 GB, free: 7.215 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.006511/0.4581, allocations: 2.436 MB / 0.5657 GB, free: 5.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.4581, allocations: 13.67 kB / 0.5657 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003455/0.4585, allocations: 211.6 kB / 0.5659 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.4606, allocations: 403.2 kB / 0.5663 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.4629, allocations: 0.9093 MB / 0.5672 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.4631, allocations: 170.9 kB / 0.5674 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/0.4635, allocations: 160.2 kB / 0.5675 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004169/0.4677, allocations: 2.044 MB / 0.5695 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.4677, allocations: 4 kB / 0.5695 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.4679, allocations: 56 kB / 0.5696 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.4679, allocations: 32 kB / 0.5696 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005799/0.4737, allocations: 2.72 MB / 0.5723 GB, free: 14.74 MB / 430.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.01531/0.4891, allocations: 6.565 MB / 0.5787 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006253/0.4953, allocations: 3.23 MB / 0.5818 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.4971, allocations: 0.8128 MB / 0.5826 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0133/0.5104, allocations: 7.259 MB / 0.5897 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.5104, allocations: 47.5 kB / 0.5898 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001253/0.5117, allocations: 199 kB / 0.5899 GB, free: 11.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 9.418e-06/0.5117, allocations: 0 / 0.5899 GB, free: 11.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02394/0.5356, allocations: 5.415 MB / 0.5952 GB, free: 6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.5357, allocations: 72.72 kB / 0.5953 GB, free: 5.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.5375, allocations: 1.03 MB / 0.5963 GB, free: 4.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.5378, allocations: 61.69 kB / 0.5964 GB, free: 4.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.5385, allocations: 0.6955 MB / 0.597 GB, free: 4.086 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007731/0.5392, allocations: 0.4919 MB / 0.5975 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008949/0.5401, allocations: 335.4 kB / 0.5978 GB, free: 3.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5403, allocations: 301.1 kB / 0.5981 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.5417, allocations: 0.652 MB / 0.5988 GB, free: 2.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.5436, allocations: 1.107 MB / 0.5999 GB, free: 1.008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.5471, allocations: 1.804 MB / 0.6016 GB, free: 15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.5471, allocations: 4 kB / 0.6016 GB, free: 15 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008078/0.5552, allocations: 2.412 MB / 0.604 GB, free: 12.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.5552, allocations: 12 kB / 0.604 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/0.5553, allocations: 12 kB / 0.604 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003141/0.5584, allocations: 498.1 kB / 0.6045 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.5604, allocations: 419.4 kB / 0.6049 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00692/0.5673, allocations: 3.87 MB / 0.6086 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.569, allocations: 59.98 kB / 0.6087 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/0.5695, allocations: 99.89 kB / 0.6088 GB, free: 7.344 MB / 462.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.001045/0.5705, allocations: 329.4 kB / 0.6091 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005609/0.5711, allocations: 135.1 kB / 0.6092 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008013/0.5791, allocations: 2.114 MB / 0.6113 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/0.5791, allocations: 19.94 kB / 0.6113 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.5791, allocations: 4 kB / 0.6113 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/0.5791, allocations: 7.969 kB / 0.6113 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.5893, allocations: 3.539 MB / 0.6148 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.5894, allocations: 4 kB / 0.6148 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.5906, allocations: 271.7 kB / 0.6151 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002908/0.5936, allocations: 470 kB / 0.6155 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.5937, allocations: 47.97 kB / 0.6156 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006025/0.5998, allocations: 3.787 MB / 0.6193 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5998, allocations: 0 / 0.6193 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008206/0.608, allocations: 2.75 MB / 0.6219 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.6084, allocations: 192.2 kB / 0.6221 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.6087, allocations: 24 kB / 0.6221 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009477/0.6097, allocations: 35.98 kB / 0.6222 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.61, allocations: 121.1 kB / 0.6223 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.6102, allocations: 55.97 kB / 0.6223 GB, free: 9.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.6113, allocations: 0.7107 MB / 0.623 GB, free: 8.316 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6113, allocations: 0 / 0.623 GB, free: 8.316 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003341/0.6146, allocations: 0.9545 MB / 0.624 GB, free: 7.359 MB / 478.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.01153/0.6262, allocations: 4.321 MB / 0.6282 GB, free: 3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004689/0.6308, allocations: 1.903 MB / 0.6301 GB, free: 1.051 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6308, allocations: 4.062 kB / 0.6301 GB, free: 1.047 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002523/0.6334, allocations: 1.061 MB / 0.6311 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.6352, allocations: 266.7 kB / 0.6313 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/0.6666, allocations: 12.31 MB / 0.6434 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.6676, allocations: 1.195 MB / 0.6445 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001326/0.6689, allocations: 321.2 kB / 0.6448 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.6701, allocations: 0.6554 MB / 0.6455 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6701, allocations: 0 / 0.6455 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.7797, allocations: 46.16 MB / 0.6906 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.69, allocations: 10.2 kB / 0.6906 GB, free: 2.793 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.697259683860466] Failed to read output from testmodel.py, exit status != 0: 16.8205316090025 16.846430478 16.389939774 Calling exit ...