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.001689/0.001689, allocations: 104.3 kB / 19.7 MB, free: 2.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.002478/0.002478, allocations: 210.4 kB / 22.99 MB, free: 4.41 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1363/0.1363, allocations: 23.88 MB / 337.1 MB, free: 10.97 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.002049/0.002049, allocations: 71.91 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 59.86 MB / 0.5198 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007353/0.3444, allocations: 6.752 MB / 0.5264 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02745/0.3719, allocations: 20.58 MB / 0.5464 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.3735, allocations: 31.75 kB / 0.5465 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.3751, allocations: 430.5 kB / 0.5469 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.3824, allocations: 1.928 MB / 0.5488 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.3928, allocations: 2.97 MB / 0.5517 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003987/0.3968, allocations: 2.135 MB / 0.5538 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.3985, allocations: 1.03 MB / 0.5548 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.4004, allocations: 1.089 MB / 0.5558 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.4027, allocations: 1.242 MB / 0.557 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004817/0.4032, allocations: 192.3 kB / 0.5572 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008916/0.4121, allocations: 2.451 MB / 0.5596 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000825/0.4129, allocations: 482.6 kB / 0.5601 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.4145, allocations: 0.8085 MB / 0.5609 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.4276, allocations: 4.832 MB / 0.5656 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4276, allocations: 8 kB / 0.5656 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4276, allocations: 3.984 kB / 0.5656 GB, free: 10.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.672e-05/0.4276, allocations: 0 / 0.5656 GB, free: 10.72 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.005275/0.4329, allocations: 2.365 MB / 0.5679 GB, free: 8.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.433, allocations: 8.031 kB / 0.5679 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.4348, allocations: 395.2 kB / 0.5683 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.4366, allocations: 0.8477 MB / 0.5691 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.4368, allocations: 222.2 kB / 0.5693 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.4371, allocations: 156.3 kB / 0.5695 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.4408, allocations: 2.06 MB / 0.5715 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.4409, allocations: 4 kB / 0.5715 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.441, allocations: 56 kB / 0.5715 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.4411, allocations: 32 kB / 0.5716 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004688/0.4457, allocations: 2.713 MB / 0.5742 GB, free: 1.742 MB / 414.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.01213/0.4579, allocations: 5.404 MB / 0.5795 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00546/0.4633, allocations: 2.798 MB / 0.5822 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.465, allocations: 0.8051 MB / 0.583 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0093/0.4742, allocations: 3.974 MB / 0.5869 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.4743, allocations: 47.56 kB / 0.5869 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008917/0.4752, allocations: 195.1 kB / 0.5871 GB, free: 4.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.457e-06/0.4752, allocations: 3.938 kB / 0.5871 GB, free: 4.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01962/0.4948, allocations: 5.178 MB / 0.5922 GB, free: 15.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.4949, allocations: 68.66 kB / 0.5923 GB, free: 15.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.4963, allocations: 1.005 MB / 0.5932 GB, free: 14.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.4964, allocations: 53.7 kB / 0.5933 GB, free: 14.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/0.497, allocations: 0.6993 MB / 0.594 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000462/0.4974, allocations: 0.4997 MB / 0.5945 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005156/0.4979, allocations: 335.4 kB / 0.5948 GB, free: 12.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.4982, allocations: 353.9 kB / 0.5951 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.4993, allocations: 0.6598 MB / 0.5958 GB, free: 11.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.5009, allocations: 1.111 MB / 0.5969 GB, free: 10.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.5037, allocations: 1.812 MB / 0.5986 GB, free: 8.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5037, allocations: 4 kB / 0.5986 GB, free: 8.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006519/0.5102, allocations: 2.412 MB / 0.601 GB, free: 5.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.5102, allocations: 12 kB / 0.601 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.5102, allocations: 15.94 kB / 0.601 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/0.5129, allocations: 494.1 kB / 0.6015 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.5145, allocations: 415.4 kB / 0.6019 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.5202, allocations: 3.596 MB / 0.6054 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.5215, allocations: 55.98 kB / 0.6054 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/0.5217, allocations: 95.97 kB / 0.6055 GB, free: 0.8594 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.0006489/0.5223, allocations: 337.2 kB / 0.6059 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.5226, allocations: 123.2 kB / 0.606 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006279/0.5289, allocations: 2.12 MB / 0.608 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.5289, allocations: 12 kB / 0.6081 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5289, allocations: 7.938 kB / 0.6081 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/0.529, allocations: 15.91 kB / 0.6081 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008107/0.5371, allocations: 3.148 MB / 0.6111 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5371, allocations: 7.938 kB / 0.6112 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.5383, allocations: 279.6 kB / 0.6114 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002564/0.5409, allocations: 466.1 kB / 0.6119 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.541, allocations: 43.97 kB / 0.6119 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005262/0.5463, allocations: 3.5 MB / 0.6153 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5463, allocations: 0 / 0.6153 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/0.5535, allocations: 2.746 MB / 0.618 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.5538, allocations: 111.2 kB / 0.6181 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.554, allocations: 28 kB / 0.6181 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/0.5547, allocations: 31.98 kB / 0.6182 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.555, allocations: 125.3 kB / 0.6183 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.5551, allocations: 59.95 kB / 0.6183 GB, free: 3.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008812/0.556, allocations: 0.6747 MB / 0.619 GB, free: 2.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.556, allocations: 0 / 0.619 GB, free: 2.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002611/0.5586, allocations: 0.9467 MB / 0.6199 GB, free: 1.785 MB / 462.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.002027/0.5606, allocations: 1.125 MB / 0.621 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003661/0.5643, allocations: 1.84 MB / 0.6228 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.5643, allocations: 0 / 0.6228 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.5662, allocations: 0.9818 MB / 0.6238 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5675, allocations: 259.3 kB / 0.624 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.5725, allocations: 2.724 MB / 0.6267 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.5732, allocations: 0.5981 MB / 0.6273 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/0.5739, allocations: 263.2 kB / 0.6275 GB, free: 9.875 MB / 478.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5739, allocations: 3.938 kB / 0.6275 GB, free: 9.871 MB / 478.1 MB Notification: Performance of Templates: time 0.05787/0.6318, allocations: 44.02 MB / 0.6705 GB, free: 13.95 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.87357786600478] Failed to read output from testmodel.py, exit status != 0: 0.6409386090235785 0.656056803 0.22499469900000002 Calling exit ...