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.001342/0.001342, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001433/0.001433, allocations: 215.6 kB / 22.26 MB, free: 5.082 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 8.039 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.1307/0.1307, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.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.002715/0.002715, allocations: 67.91 kB / 471.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.3001, allocations: 59.87 MB / 0.5187 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.0073/0.3074, allocations: 7.66 MB / 0.5261 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02662/0.334, allocations: 23.51 MB / 0.5491 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.3352, allocations: 24 kB / 0.5491 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.3365, allocations: 481 kB / 0.5496 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.342, allocations: 1.972 MB / 0.5515 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00831/0.3503, allocations: 2.97 MB / 0.5544 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.3534, allocations: 2.129 MB / 0.5565 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.3547, allocations: 1.037 MB / 0.5575 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.3559, allocations: 1.086 MB / 0.5586 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.3577, allocations: 1.245 MB / 0.5598 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000275/0.358, allocations: 192 kB / 0.56 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007947/0.366, allocations: 2.538 MB / 0.5624 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000524/0.3665, allocations: 486.9 kB / 0.5629 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.3677, allocations: 0.948 MB / 0.5638 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.3783, allocations: 4.851 MB / 0.5686 GB, free: 6.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3783, allocations: 0 / 0.5686 GB, free: 6.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3783, allocations: 0 / 0.5686 GB, free: 6.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.3784, allocations: 4 kB / 0.5686 GB, free: 6.746 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.004754/0.3831, allocations: 2.364 MB / 0.5709 GB, free: 4.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3832, allocations: 12.03 kB / 0.5709 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/0.3834, allocations: 211.5 kB / 0.5711 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.3851, allocations: 403 kB / 0.5715 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3866, allocations: 0.8476 MB / 0.5723 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.3868, allocations: 218.3 kB / 0.5725 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.3871, allocations: 160.3 kB / 0.5727 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003228/0.3903, allocations: 2.056 MB / 0.5747 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.3903, allocations: 3.984 kB / 0.5747 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.3905, allocations: 60 kB / 0.5747 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.3905, allocations: 36 kB / 0.5748 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.3947, allocations: 2.736 MB / 0.5774 GB, free: 13.51 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.01128/0.406, allocations: 6.519 MB / 0.5838 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005104/0.4111, allocations: 2.864 MB / 0.5866 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.4124, allocations: 0.8167 MB / 0.5874 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009082/0.4215, allocations: 4.199 MB / 0.5915 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4215, allocations: 43.56 kB / 0.5915 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009309/0.4225, allocations: 207 kB / 0.5917 GB, free: 14.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 3.586e-06/0.4225, allocations: 3.938 kB / 0.5917 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02079/0.4433, allocations: 5.182 MB / 0.5968 GB, free: 9.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4433, allocations: 64.72 kB / 0.5969 GB, free: 9.309 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4446, allocations: 1.046 MB / 0.5979 GB, free: 8.238 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.4448, allocations: 53.7 kB / 0.5979 GB, free: 8.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/0.4453, allocations: 0.6916 MB / 0.5986 GB, free: 7.477 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.4457, allocations: 0.5035 MB / 0.5991 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.4462, allocations: 339.4 kB / 0.5994 GB, free: 6.629 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4463, allocations: 301.1 kB / 0.5997 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4474, allocations: 0.6559 MB / 0.6003 GB, free: 5.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.449, allocations: 1.111 MB / 0.6014 GB, free: 4.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.4517, allocations: 1.816 MB / 0.6032 GB, free: 2.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4517, allocations: 4 kB / 0.6032 GB, free: 2.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006754/0.4585, allocations: 2.428 MB / 0.6056 GB, free: 15.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4585, allocations: 12 kB / 0.6056 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.4585, allocations: 12 kB / 0.6056 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/0.4614, allocations: 490.1 kB / 0.6061 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.4628, allocations: 419.3 kB / 0.6065 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/0.4687, allocations: 3.685 MB / 0.6101 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.4698, allocations: 52 kB / 0.6101 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.47, allocations: 95.95 kB / 0.6102 GB, free: 10.93 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.0006079/0.4706, allocations: 333.9 kB / 0.6105 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.4709, allocations: 123.2 kB / 0.6106 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00656/0.4774, allocations: 2.125 MB / 0.6127 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.4774, allocations: 19.94 kB / 0.6127 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4774, allocations: 0 / 0.6127 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.4774, allocations: 11.97 kB / 0.6128 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008376/0.4858, allocations: 3.53 MB / 0.6162 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4858, allocations: 0 / 0.6162 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.4869, allocations: 267.7 kB / 0.6165 GB, free: 4.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/0.4896, allocations: 478 kB / 0.6169 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.4897, allocations: 47.97 kB / 0.617 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005212/0.4949, allocations: 3.565 MB / 0.6204 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4949, allocations: 3.984 kB / 0.6204 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00727/0.5022, allocations: 2.746 MB / 0.6231 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.5025, allocations: 111.2 kB / 0.6232 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.5027, allocations: 24 kB / 0.6233 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.5035, allocations: 36.11 kB / 0.6233 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.5037, allocations: 133 kB / 0.6234 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.5039, allocations: 63.95 kB / 0.6235 GB, free: 12.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008865/0.5047, allocations: 0.7108 MB / 0.6242 GB, free: 12.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5047, allocations: 4 kB / 0.6242 GB, free: 12.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002623/0.5074, allocations: 0.9583 MB / 0.6251 GB, free: 11.3 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.009584/0.517, allocations: 4.309 MB / 0.6293 GB, free: 6.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.5207, allocations: 1.84 MB / 0.6311 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5207, allocations: 0 / 0.6311 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.5226, allocations: 0.9934 MB / 0.6321 GB, free: 4.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5238, allocations: 258.7 kB / 0.6323 GB, free: 3.816 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/0.548, allocations: 12.32 MB / 0.6444 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/0.5489, allocations: 1.191 MB / 0.6455 GB, free: 5.754 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001101/0.55, allocations: 321.4 kB / 0.6458 GB, free: 5.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009619/0.551, allocations: 0.6671 MB / 0.6465 GB, free: 4.785 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.551, allocations: 0 / 0.6465 GB, free: 4.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09535/0.6463, allocations: 47.52 MB / 0.6929 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.25, allocations: 8.062 kB / 0.6929 GB, free: 5.547 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.886060345997976] Failed to read output from testmodel.py, exit status != 0: 16.395941795999533 16.409411981 16.028061107 Calling exit ...