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.001545/0.001545, allocations: 113 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.001739/0.001739, allocations: 209.5 kB / 22.25 MB, free: 5.086 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 8.008 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.1286/0.1286, allocations: 23.86 MB / 336.3 MB, free: 11.18 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.001934/0.001934, allocations: 71.14 kB / 471.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2894, allocations: 59.86 MB / 0.5186 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006865/0.2963, allocations: 7.662 MB / 0.5261 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0272/0.3235, allocations: 23.51 MB / 0.549 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.3247, allocations: 24.16 kB / 0.549 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.3261, allocations: 485.7 kB / 0.5495 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00625/0.3324, allocations: 1.976 MB / 0.5514 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008738/0.3411, allocations: 2.96 MB / 0.5543 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003441/0.3446, allocations: 2.141 MB / 0.5564 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.3461, allocations: 1.029 MB / 0.5574 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.3478, allocations: 1.085 MB / 0.5585 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.35, allocations: 1.241 MB / 0.5597 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004701/0.3505, allocations: 193.3 kB / 0.5599 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008713/0.3592, allocations: 2.545 MB / 0.5624 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007956/0.36, allocations: 478.7 kB / 0.5628 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.3616, allocations: 0.9559 MB / 0.5638 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.3731, allocations: 4.849 MB / 0.5685 GB, free: 6.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3731, allocations: 0 / 0.5685 GB, free: 6.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3731, allocations: 0 / 0.5685 GB, free: 6.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.3731, allocations: 0 / 0.5685 GB, free: 6.789 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.005175/0.3783, allocations: 2.361 MB / 0.5708 GB, free: 4.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3784, allocations: 16.02 kB / 0.5708 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.3786, allocations: 211.4 kB / 0.571 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.3805, allocations: 403.2 kB / 0.5714 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.3822, allocations: 0.8438 MB / 0.5722 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.3824, allocations: 218.3 kB / 0.5724 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.3827, allocations: 148.3 kB / 0.5726 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.3862, allocations: 2.068 MB / 0.5746 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.3862, allocations: 0 / 0.5746 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.3864, allocations: 56 kB / 0.5746 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.3864, allocations: 36 kB / 0.5747 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/0.3907, allocations: 2.736 MB / 0.5774 GB, free: 13.56 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.01185/0.4025, allocations: 6.53 MB / 0.5837 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004962/0.4075, allocations: 2.856 MB / 0.5865 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.4087, allocations: 0.8119 MB / 0.5873 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00838/0.4171, allocations: 4.222 MB / 0.5914 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.4171, allocations: 43.56 kB / 0.5915 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008723/0.418, allocations: 206.9 kB / 0.5917 GB, free: 14.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 3.125e-06/0.418, allocations: 3.938 kB / 0.5917 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.01974/0.4378, allocations: 5.185 MB / 0.5967 GB, free: 9.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.4378, allocations: 64.72 kB / 0.5968 GB, free: 9.336 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.4391, allocations: 1.046 MB / 0.5978 GB, free: 8.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.4392, allocations: 49.7 kB / 0.5979 GB, free: 8.211 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/0.4398, allocations: 0.6954 MB / 0.5986 GB, free: 7.504 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/0.4402, allocations: 0.5035 MB / 0.599 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/0.4407, allocations: 335.4 kB / 0.5994 GB, free: 6.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4408, allocations: 301.1 kB / 0.5997 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.4419, allocations: 0.6559 MB / 0.6003 GB, free: 5.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4434, allocations: 1.111 MB / 0.6014 GB, free: 4.395 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/0.446, allocations: 1.808 MB / 0.6031 GB, free: 2.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.446, allocations: 4 kB / 0.6031 GB, free: 2.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006541/0.4526, allocations: 2.428 MB / 0.6055 GB, free: 15.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.4526, allocations: 12 kB / 0.6055 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.4526, allocations: 12 kB / 0.6055 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/0.4553, allocations: 494.1 kB / 0.606 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.4568, allocations: 423.3 kB / 0.6064 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005611/0.4625, allocations: 3.663 MB / 0.61 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.4637, allocations: 59.98 kB / 0.61 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.4639, allocations: 99.95 kB / 0.6101 GB, free: 10.97 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.000614/0.4645, allocations: 325.9 kB / 0.6105 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.4648, allocations: 127.3 kB / 0.6106 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006349/0.4711, allocations: 2.128 MB / 0.6127 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.4712, allocations: 15.94 kB / 0.6127 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4712, allocations: 7.984 kB / 0.6127 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.4712, allocations: 3.984 kB / 0.6127 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008136/0.4793, allocations: 3.526 MB / 0.6161 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.4793, allocations: 8 kB / 0.6161 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.4805, allocations: 267.7 kB / 0.6164 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/0.4831, allocations: 470.1 kB / 0.6168 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.4832, allocations: 47.97 kB / 0.6169 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005011/0.4883, allocations: 3.577 MB / 0.6204 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4883, allocations: 3.938 kB / 0.6204 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006898/0.4952, allocations: 2.75 MB / 0.6231 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.4954, allocations: 111.2 kB / 0.6232 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.4956, allocations: 28 kB / 0.6232 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/0.4963, allocations: 28 kB / 0.6232 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.4966, allocations: 133 kB / 0.6234 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.4967, allocations: 55.97 kB / 0.6234 GB, free: 13.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000883/0.4976, allocations: 0.7186 MB / 0.6241 GB, free: 12.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4976, allocations: 0 / 0.6241 GB, free: 12.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002509/0.5001, allocations: 0.9623 MB / 0.625 GB, free: 11.34 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.009217/0.5093, allocations: 4.309 MB / 0.6293 GB, free: 7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.5128, allocations: 1.831 MB / 0.631 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5128, allocations: 0 / 0.631 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.5147, allocations: 0.9862 MB / 0.632 GB, free: 4.125 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5159, allocations: 255.3 kB / 0.6322 GB, free: 3.871 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/0.54, allocations: 12.34 MB / 0.6443 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/0.5409, allocations: 1.183 MB / 0.6455 GB, free: 5.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001165/0.542, allocations: 336.8 kB / 0.6458 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009205/0.543, allocations: 0.6671 MB / 0.6464 GB, free: 4.812 MB / 494.1 MB Notification: Performance of SimCode: time 1.353e-06/0.543, allocations: 0 / 0.6464 GB, free: 4.812 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09829/0.6413, allocations: 47.5 MB / 0.6928 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/16.17, allocations: 6.188 kB / 0.6928 GB, free: 5.586 MB / 0.5294 GB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 18.836642233996827] Failed to read output from testmodel.py, exit status != 0: 16.308167488001345 16.324291359 15.947607748 Calling exit ...