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.00161/0.00161, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001661/0.001661, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1333/0.1333, allocations: 23.91 MB / 333.4 MB, free: 1.148 MB / 254.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: translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002017/0.002017, allocations: 67.56 kB / 467.2 MB, free: 30.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08848/0.0905, allocations: 59.84 MB / 0.5147 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.009743/0.1002, allocations: 7.604 MB / 0.5221 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03007/0.1303, allocations: 23.46 MB / 0.5451 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000874/0.1312, allocations: 23.81 kB / 0.5451 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.1324, allocations: 476.5 kB / 0.5455 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.1375, allocations: 1.956 MB / 0.5474 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007524/0.145, allocations: 2.951 MB / 0.5503 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.1479, allocations: 2.13 MB / 0.5524 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.1492, allocations: 1.056 MB / 0.5534 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.1505, allocations: 1.076 MB / 0.5545 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.1522, allocations: 1.246 MB / 0.5557 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003256/0.1525, allocations: 196 kB / 0.5559 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006827/0.1593, allocations: 2.547 MB / 0.5584 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005127/0.1599, allocations: 470.7 kB / 0.5588 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009858/0.1608, allocations: 0.949 MB / 0.5598 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008559/0.1694, allocations: 4.844 MB / 0.5645 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1694, allocations: 0 / 0.5645 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1694, allocations: 0 / 0.5645 GB, free: 9.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.21e-05/0.1694, allocations: 7.938 kB / 0.5645 GB, free: 9.168 MB / 430.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.005061/0.1745, allocations: 2.44 MB / 0.5669 GB, free: 6.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1745, allocations: 8.031 kB / 0.5669 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.1764, allocations: 407 kB / 0.5673 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.1779, allocations: 0.9093 MB / 0.5682 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.178, allocations: 170.8 kB / 0.5683 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.1784, allocations: 156.3 kB / 0.5685 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.1818, allocations: 2.049 MB / 0.5705 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1819, allocations: 0 / 0.5705 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.182, allocations: 56 kB / 0.5705 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.1821, allocations: 40 kB / 0.5706 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004507/0.1866, allocations: 2.717 MB / 0.5732 GB, free: 76 kB / 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.01148/0.1981, allocations: 6.561 MB / 0.5796 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/0.2038, allocations: 3.229 MB / 0.5828 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.2052, allocations: 0.8088 MB / 0.5836 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2098/0.415, allocations: 7.268 MB / 0.5907 GB, free: 66.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.415, allocations: 46.97 kB / 0.5907 GB, free: 66.21 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009131/0.4159, allocations: 200.7 kB / 0.5909 GB, free: 66.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 3.326e-06/0.4159, allocations: 0.8125 kB / 0.5909 GB, free: 66.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02048/0.4364, allocations: 5.412 MB / 0.5962 GB, free: 64.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.4364, allocations: 68.8 kB / 0.5963 GB, free: 64.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.4377, allocations: 1.036 MB / 0.5973 GB, free: 63.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/0.4378, allocations: 46.05 kB / 0.5973 GB, free: 63.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.4381, allocations: 0.7021 MB / 0.598 GB, free: 63.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.4384, allocations: 0.4996 MB / 0.5985 GB, free: 62.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005931/0.439, allocations: 334.8 kB / 0.5988 GB, free: 62.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.117e-05/0.4391, allocations: 305.1 kB / 0.5991 GB, free: 62.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.4401, allocations: 0.6461 MB / 0.5997 GB, free: 62.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.4414, allocations: 1.114 MB / 0.6008 GB, free: 61.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.4438, allocations: 1.801 MB / 0.6026 GB, free: 60.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.4438, allocations: 4.125 kB / 0.6026 GB, free: 60.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006764/0.4506, allocations: 2.415 MB / 0.6049 GB, free: 59.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4506, allocations: 10.38 kB / 0.6049 GB, free: 59.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4507, allocations: 17.42 kB / 0.605 GB, free: 59.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/0.4535, allocations: 486.7 kB / 0.6054 GB, free: 59.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.455, allocations: 423.9 kB / 0.6058 GB, free: 59.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004791/0.4598, allocations: 3.881 MB / 0.6096 GB, free: 55.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.4609, allocations: 56.78 kB / 0.6097 GB, free: 55.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.4611, allocations: 88.88 kB / 0.6098 GB, free: 55.59 MB / 446.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.0005921/0.4617, allocations: 334.2 kB / 0.6101 GB, free: 55.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.4619, allocations: 125.1 kB / 0.6102 GB, free: 55.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006228/0.4682, allocations: 2.14 MB / 0.6123 GB, free: 54.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.4682, allocations: 15.69 kB / 0.6123 GB, free: 54.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4682, allocations: 0 / 0.6123 GB, free: 54.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.4682, allocations: 7.875 kB / 0.6123 GB, free: 54.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007315/0.4755, allocations: 3.542 MB / 0.6158 GB, free: 52.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4755, allocations: 7.938 kB / 0.6158 GB, free: 52.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.4766, allocations: 272.7 kB / 0.616 GB, free: 52.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/0.4792, allocations: 466.8 kB / 0.6165 GB, free: 52.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.4793, allocations: 43.69 kB / 0.6165 GB, free: 52.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/0.4834, allocations: 3.785 MB / 0.6202 GB, free: 48.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4834, allocations: 0 / 0.6202 GB, free: 48.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006384/0.4898, allocations: 2.74 MB / 0.6229 GB, free: 47.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.4901, allocations: 197.7 kB / 0.6231 GB, free: 47.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.4903, allocations: 27.03 kB / 0.6231 GB, free: 47.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.4911, allocations: 36.95 kB / 0.6231 GB, free: 47.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.4913, allocations: 118 kB / 0.6233 GB, free: 47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.4914, allocations: 57.88 kB / 0.6233 GB, free: 46.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006783/0.4921, allocations: 0.7089 MB / 0.624 GB, free: 46.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4921, allocations: 0 / 0.624 GB, free: 46.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002225/0.4943, allocations: 0.9566 MB / 0.6249 GB, free: 46.38 MB / 446.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.001569/0.4959, allocations: 1.131 MB / 0.626 GB, free: 45.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.499, allocations: 1.903 MB / 0.6279 GB, free: 43.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.499, allocations: 0 / 0.6279 GB, free: 43.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.5006, allocations: 1.065 MB / 0.6289 GB, free: 42.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5017, allocations: 261.3 kB / 0.6292 GB, free: 42.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.5057, allocations: 2.731 MB / 0.6319 GB, free: 39.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.5062, allocations: 1.183 MB / 0.633 GB, free: 38.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006376/0.5068, allocations: 267.2 kB / 0.6333 GB, free: 37.98 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5068, allocations: 0 / 0.6333 GB, free: 37.98 MB / 446.1 MB Notification: Performance of Templates: time 0.03773/0.5445, allocations: 43.59 MB / 0.6758 GB, free: 10.5 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.36507897399133] Failed to read output from testmodel.py, exit status != 0: 0.5524337319948245 0.5666206699999999 0.39417745699999995 Calling exit ...