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.00131/0.00131, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00146/0.00146, allocations: 215.5 kB / 23.01 MB, free: 4.57 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.1345/0.1345, allocations: 23.85 MB / 337 MB, free: 11.21 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: translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") [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.002105/0.002105, allocations: 71.88 kB / 472.4 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3112, allocations: 59.86 MB / 0.5198 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.00732/0.3185, allocations: 7.66 MB / 0.5273 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02872/0.3473, allocations: 23.5 MB / 0.5502 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.3486, allocations: 28.47 kB / 0.5503 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.3502, allocations: 479.3 kB / 0.5507 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006559/0.3567, allocations: 1.973 MB / 0.5527 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00979/0.3665, allocations: 2.969 MB / 0.5556 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003626/0.3702, allocations: 2.137 MB / 0.5576 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.3719, allocations: 1.033 MB / 0.5587 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.3737, allocations: 1.089 MB / 0.5597 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.3763, allocations: 1.237 MB / 0.5609 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006441/0.377, allocations: 193.7 kB / 0.5611 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009209/0.3862, allocations: 2.54 MB / 0.5636 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008312/0.387, allocations: 484.1 kB / 0.5641 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.3888, allocations: 0.9514 MB / 0.565 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.4007, allocations: 4.854 MB / 0.5697 GB, free: 6.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4007, allocations: 8 kB / 0.5697 GB, free: 6.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4007, allocations: 0 / 0.5697 GB, free: 6.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.011e-05/0.4007, allocations: 0 / 0.5697 GB, free: 6.801 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.005622/0.4064, allocations: 2.364 MB / 0.572 GB, free: 4.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.4064, allocations: 8.031 kB / 0.572 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.4083, allocations: 403.2 kB / 0.5724 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.4101, allocations: 0.8438 MB / 0.5733 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.4103, allocations: 222.3 kB / 0.5735 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.4107, allocations: 152.3 kB / 0.5736 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/0.4143, allocations: 2.06 MB / 0.5756 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.4143, allocations: 0 / 0.5756 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.4144, allocations: 56 kB / 0.5757 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.4145, allocations: 36 kB / 0.5757 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004523/0.419, allocations: 2.74 MB / 0.5784 GB, free: 13.8 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.01285/0.4319, allocations: 6.527 MB / 0.5848 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005555/0.4374, allocations: 2.857 MB / 0.5875 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4388, allocations: 0.805 MB / 0.5883 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00951/0.4484, allocations: 4.222 MB / 0.5925 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4484, allocations: 43.56 kB / 0.5925 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009794/0.4494, allocations: 199 kB / 0.5927 GB, free: 14.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 4.358e-06/0.4494, allocations: 4 kB / 0.5927 GB, free: 14.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02187/0.4713, allocations: 5.185 MB / 0.5978 GB, free: 9.656 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.4713, allocations: 72.66 kB / 0.5978 GB, free: 9.574 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.4727, allocations: 1.046 MB / 0.5988 GB, free: 8.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.4729, allocations: 45.7 kB / 0.5989 GB, free: 8.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.4734, allocations: 0.6994 MB / 0.5996 GB, free: 7.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/0.474, allocations: 0.4996 MB / 0.6001 GB, free: 7.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005247/0.4745, allocations: 327.4 kB / 0.6004 GB, free: 6.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4746, allocations: 313.1 kB / 0.6007 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.4758, allocations: 0.652 MB / 0.6013 GB, free: 5.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.4774, allocations: 1.111 MB / 0.6024 GB, free: 4.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.4803, allocations: 1.816 MB / 0.6042 GB, free: 2.629 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.4803, allocations: 4 kB / 0.6042 GB, free: 2.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007114/0.4874, allocations: 2.416 MB / 0.6065 GB, free: 196 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.4874, allocations: 15.94 kB / 0.6065 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.143e-05/0.4875, allocations: 12 kB / 0.6066 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/0.4904, allocations: 0.4903 MB / 0.607 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.4921, allocations: 415.3 kB / 0.6074 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006039/0.4981, allocations: 3.66 MB / 0.611 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.4996, allocations: 59.92 kB / 0.6111 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003693/0.5, allocations: 99.89 kB / 0.6112 GB, free: 11.21 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.0009099/0.5009, allocations: 333.9 kB / 0.6115 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.5013, allocations: 123.2 kB / 0.6116 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007068/0.5084, allocations: 2.129 MB / 0.6137 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.5084, allocations: 19.94 kB / 0.6137 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.5084, allocations: 4 kB / 0.6137 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-05/0.5084, allocations: 7.969 kB / 0.6137 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009164/0.5176, allocations: 3.519 MB / 0.6171 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5176, allocations: 0 / 0.6171 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.5188, allocations: 279.7 kB / 0.6174 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002862/0.5216, allocations: 470 kB / 0.6179 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.5218, allocations: 47.97 kB / 0.6179 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005353/0.5271, allocations: 3.573 MB / 0.6214 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5271, allocations: 3.984 kB / 0.6214 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007354/0.5345, allocations: 2.742 MB / 0.6241 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.5348, allocations: 115.2 kB / 0.6242 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.5351, allocations: 31.94 kB / 0.6242 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/0.5358, allocations: 28 kB / 0.6242 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.5361, allocations: 133 kB / 0.6244 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.5362, allocations: 59.91 kB / 0.6244 GB, free: 13.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000951/0.5372, allocations: 0.7186 MB / 0.6251 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5372, allocations: 0 / 0.6251 GB, free: 12.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002738/0.5399, allocations: 0.9584 MB / 0.6261 GB, free: 11.58 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.002268/0.5422, allocations: 1.105 MB / 0.6271 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.5459, allocations: 1.838 MB / 0.6289 GB, free: 8.605 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5459, allocations: 0 / 0.6289 GB, free: 8.605 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.5479, allocations: 0.9872 MB / 0.6299 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5491, allocations: 267 kB / 0.6302 GB, free: 7.328 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/0.5544, allocations: 2.724 MB / 0.6328 GB, free: 4.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009412/0.5553, allocations: 1.179 MB / 0.634 GB, free: 3.359 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.556, allocations: 271.2 kB / 0.6342 GB, free: 3.098 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.556, allocations: 4 kB / 0.6342 GB, free: 3.094 MB / 478.1 MB Notification: Performance of Templates: time 0.05738/0.6134, allocations: 43.61 MB / 0.6768 GB, free: 7.594 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.532225162023678] Failed to read output from testmodel.py, exit status != 0: 0.6234045578166842 0.6388671960000001 0.23468845200000002 Calling exit ...