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.001434/0.001434, allocations: 114.5 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.001616/0.001616, allocations: 217 kB / 22.25 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.027 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.1379/0.1379, allocations: 23.9 MB / 336.3 MB, free: 11.18 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: 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.002102/0.002102, allocations: 67.89 kB / 471.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 59.87 MB / 0.5191 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007607/0.3468, allocations: 7.66 MB / 0.5266 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03018/0.377, allocations: 23.5 MB / 0.5496 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.3786, allocations: 24.59 kB / 0.5496 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.3802, allocations: 492 kB / 0.5501 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00681/0.387, allocations: 1.973 MB / 0.552 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.3972, allocations: 2.966 MB / 0.5549 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003964/0.4012, allocations: 2.138 MB / 0.557 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.4027, allocations: 1.025 MB / 0.558 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.4044, allocations: 1.085 MB / 0.559 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.4066, allocations: 1.245 MB / 0.5602 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.4069, allocations: 192.4 kB / 0.5604 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009649/0.4166, allocations: 2.541 MB / 0.5629 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007468/0.4173, allocations: 478.7 kB / 0.5634 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.4189, allocations: 0.9532 MB / 0.5643 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.432, allocations: 4.852 MB / 0.569 GB, free: 6.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.432, allocations: 4 kB / 0.569 GB, free: 6.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.432, allocations: 0 / 0.569 GB, free: 6.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.38e-05/0.432, allocations: 0 / 0.569 GB, free: 6.734 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.005452/0.4375, allocations: 2.364 MB / 0.5713 GB, free: 4.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4375, allocations: 8.031 kB / 0.5714 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.4393, allocations: 415 kB / 0.5718 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.4411, allocations: 0.8476 MB / 0.5726 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.4413, allocations: 218.3 kB / 0.5728 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.4415, allocations: 152.3 kB / 0.5729 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.4451, allocations: 2.06 MB / 0.5749 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.4451, allocations: 0 / 0.5749 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.4453, allocations: 60 kB / 0.575 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.4453, allocations: 39.98 kB / 0.575 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004551/0.4499, allocations: 2.736 MB / 0.5777 GB, free: 13.71 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.01252/0.4624, allocations: 6.519 MB / 0.5841 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00548/0.4679, allocations: 2.864 MB / 0.5869 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.4693, allocations: 0.805 MB / 0.5877 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009299/0.4786, allocations: 4.215 MB / 0.5918 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.4786, allocations: 43.56 kB / 0.5918 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009657/0.4796, allocations: 207 kB / 0.592 GB, free: 14.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 3.116e-06/0.4796, allocations: 3.938 kB / 0.592 GB, free: 14.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02175/0.5013, allocations: 5.181 MB / 0.5971 GB, free: 9.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.5014, allocations: 64.72 kB / 0.5971 GB, free: 9.496 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.5029, allocations: 1.046 MB / 0.5982 GB, free: 8.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.5031, allocations: 49.7 kB / 0.5982 GB, free: 8.371 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.5037, allocations: 0.6916 MB / 0.5989 GB, free: 7.668 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/0.5041, allocations: 0.5113 MB / 0.5994 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.5047, allocations: 339.4 kB / 0.5997 GB, free: 6.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5048, allocations: 301.1 kB / 0.6 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.506, allocations: 0.652 MB / 0.6006 GB, free: 5.863 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.5076, allocations: 1.111 MB / 0.6017 GB, free: 4.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.5106, allocations: 1.812 MB / 0.6035 GB, free: 2.547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.5106, allocations: 4 kB / 0.6035 GB, free: 2.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007238/0.5178, allocations: 2.424 MB / 0.6059 GB, free: 104 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.5179, allocations: 12 kB / 0.6059 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.5179, allocations: 12 kB / 0.6059 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/0.5211, allocations: 490.1 kB / 0.6063 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.5227, allocations: 423.3 kB / 0.6068 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006309/0.529, allocations: 3.676 MB / 0.6103 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.5303, allocations: 56 kB / 0.6104 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.5306, allocations: 95.95 kB / 0.6105 GB, free: 11.12 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.0007233/0.5313, allocations: 331.9 kB / 0.6108 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/0.5316, allocations: 127.3 kB / 0.6109 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007152/0.5388, allocations: 2.129 MB / 0.613 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.5388, allocations: 15.94 kB / 0.613 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5388, allocations: 4 kB / 0.613 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.5388, allocations: 7.969 kB / 0.613 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009448/0.5483, allocations: 3.534 MB / 0.6165 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5483, allocations: 0 / 0.6165 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.5495, allocations: 267.7 kB / 0.6167 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.5525, allocations: 474 kB / 0.6172 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.5526, allocations: 47.97 kB / 0.6172 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005903/0.5585, allocations: 3.565 MB / 0.6207 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5585, allocations: 0 / 0.6207 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/0.5666, allocations: 2.754 MB / 0.6234 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.567, allocations: 115.1 kB / 0.6235 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.5672, allocations: 24 kB / 0.6235 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/0.5681, allocations: 31.98 kB / 0.6236 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.5684, allocations: 129.2 kB / 0.6237 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.5686, allocations: 55.97 kB / 0.6237 GB, free: 13.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001102/0.5697, allocations: 0.7224 MB / 0.6244 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5697, allocations: 0 / 0.6244 GB, free: 12.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003202/0.5729, allocations: 0.9584 MB / 0.6254 GB, free: 11.5 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.002901/0.5758, allocations: 1.117 MB / 0.6265 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004138/0.5799, allocations: 1.836 MB / 0.6283 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5799, allocations: 8.062 kB / 0.6283 GB, free: 8.504 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.582, allocations: 0.9856 MB / 0.6292 GB, free: 7.488 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5834, allocations: 255.2 kB / 0.6295 GB, free: 7.238 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/0.5889, allocations: 2.695 MB / 0.6321 GB, free: 4.512 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.5899, allocations: 1.187 MB / 0.6333 GB, free: 3.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.5912, allocations: 325 kB / 0.6336 GB, free: 2.992 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/0.5917, allocations: 211.3 kB / 0.6338 GB, free: 2.789 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5917, allocations: 0 / 0.6338 GB, free: 2.789 MB / 478.1 MB Notification: Performance of Templates: time 0.06384/0.6556, allocations: 35.7 MB / 0.6686 GB, free: 15.21 MB / 0.5137 GB " [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: 6.347950140014291] Failed to read output from testmodel.py, exit status != 0: 0.6650501298718154 0.6816807490000001 0.24608611000000002 Calling exit ...