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.001478/0.001478, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001755/0.001755, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.432/1.432, 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.1367/0.1367, allocations: 23.88 MB / 337.1 MB, free: 11.05 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.00204/0.00204, allocations: 67.91 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.302, allocations: 59.86 MB / 0.5198 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007386/0.3094, allocations: 6.761 MB / 0.5264 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02634/0.3358, allocations: 20.58 MB / 0.5465 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.3372, allocations: 24.22 kB / 0.5465 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.3387, allocations: 438.2 kB / 0.5469 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.3454, allocations: 1.923 MB / 0.5488 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00909/0.3545, allocations: 2.973 MB / 0.5517 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003333/0.3579, allocations: 2.127 MB / 0.5538 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.3593, allocations: 1.038 MB / 0.5548 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.3609, allocations: 1.09 MB / 0.5558 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.3629, allocations: 1.234 MB / 0.557 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003241/0.3632, allocations: 192.7 kB / 0.5572 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007633/0.3709, allocations: 2.449 MB / 0.5596 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000685/0.3716, allocations: 480.5 kB / 0.5601 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.3729, allocations: 0.8118 MB / 0.5609 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.3848, allocations: 4.839 MB / 0.5656 GB, free: 10.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3848, allocations: 4 kB / 0.5656 GB, free: 10.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3848, allocations: 0 / 0.5656 GB, free: 10.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.067e-05/0.3848, allocations: 0 / 0.5656 GB, free: 10.67 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.005617/0.3904, allocations: 2.357 MB / 0.5679 GB, free: 8.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3905, allocations: 8.031 kB / 0.5679 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.3924, allocations: 403.2 kB / 0.5683 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.3942, allocations: 0.8516 MB / 0.5691 GB, free: 6.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.3944, allocations: 218.3 kB / 0.5693 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.3947, allocations: 156.3 kB / 0.5695 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.3984, allocations: 2.056 MB / 0.5715 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.3984, allocations: 4 kB / 0.5715 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.3986, allocations: 60 kB / 0.5716 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.3986, allocations: 32 kB / 0.5716 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004395/0.403, allocations: 2.709 MB / 0.5742 GB, free: 1.691 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.01138/0.4144, allocations: 5.404 MB / 0.5795 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005542/0.4199, allocations: 2.794 MB / 0.5822 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.4213, allocations: 0.8089 MB / 0.583 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009481/0.4308, allocations: 3.974 MB / 0.5869 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.4309, allocations: 55.5 kB / 0.587 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001001/0.4319, allocations: 191.1 kB / 0.5871 GB, free: 4.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.056e-06/0.4319, allocations: 3.938 kB / 0.5871 GB, free: 4.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02328/0.4552, allocations: 5.174 MB / 0.5922 GB, free: 15.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.4552, allocations: 72.59 kB / 0.5923 GB, free: 15.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.4565, allocations: 1.009 MB / 0.5932 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4566, allocations: 53.7 kB / 0.5933 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.4572, allocations: 0.7031 MB / 0.594 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/0.4576, allocations: 0.4958 MB / 0.5945 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005498/0.4582, allocations: 331.4 kB / 0.5948 GB, free: 12.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4584, allocations: 357.9 kB / 0.5951 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4596, allocations: 0.6559 MB / 0.5958 GB, free: 11.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.4612, allocations: 1.107 MB / 0.5969 GB, free: 10.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/0.4641, allocations: 1.819 MB / 0.5986 GB, free: 8.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.4641, allocations: 4 kB / 0.5986 GB, free: 8.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007465/0.4716, allocations: 2.408 MB / 0.601 GB, free: 5.672 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.4716, allocations: 12 kB / 0.601 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.4717, allocations: 15.94 kB / 0.601 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003359/0.475, allocations: 490.1 kB / 0.6015 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.4767, allocations: 419.4 kB / 0.6019 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/0.483, allocations: 3.599 MB / 0.6054 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.4842, allocations: 56.17 kB / 0.6054 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.4844, allocations: 95.95 kB / 0.6055 GB, free: 0.8008 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.0006491/0.4851, allocations: 345.2 kB / 0.6059 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.4854, allocations: 123.2 kB / 0.606 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007187/0.4926, allocations: 2.117 MB / 0.6081 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.4926, allocations: 12 kB / 0.6081 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.4926, allocations: 4 kB / 0.6081 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.4926, allocations: 7.969 kB / 0.6081 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/0.5013, allocations: 3.164 MB / 0.6112 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5013, allocations: 0 / 0.6112 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.5026, allocations: 271.7 kB / 0.6114 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.5057, allocations: 465.9 kB / 0.6119 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.5058, allocations: 47.97 kB / 0.6119 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005745/0.5116, allocations: 3.492 MB / 0.6153 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5116, allocations: 0 / 0.6153 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007884/0.5195, allocations: 2.757 MB / 0.618 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.5198, allocations: 111.2 kB / 0.6181 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.5199, allocations: 27.94 kB / 0.6181 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007733/0.5207, allocations: 32 kB / 0.6182 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/0.521, allocations: 125.1 kB / 0.6183 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.5211, allocations: 59.97 kB / 0.6184 GB, free: 3.352 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008624/0.522, allocations: 0.6708 MB / 0.619 GB, free: 2.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.522, allocations: 0 / 0.619 GB, free: 2.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002783/0.5248, allocations: 0.9506 MB / 0.6199 GB, free: 1.727 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.002072/0.5269, allocations: 1.121 MB / 0.621 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003825/0.5307, allocations: 1.847 MB / 0.6228 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5307, allocations: 0 / 0.6228 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.5327, allocations: 0.9863 MB / 0.6238 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.5339, allocations: 244.6 kB / 0.624 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/0.5389, allocations: 2.679 MB / 0.6266 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.5396, allocations: 0.602 MB / 0.6272 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.5407, allocations: 324.3 kB / 0.6275 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.5412, allocations: 203.3 kB / 0.6277 GB, free: 9.621 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5412, allocations: 4 kB / 0.6277 GB, free: 9.617 MB / 478.1 MB Notification: Performance of Templates: time 0.05746/0.5987, allocations: 36.77 MB / 0.6637 GB, free: 5.098 MB / 0.4981 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.526047737992485] Failed to read output from testmodel.py, exit status != 0: 0.6079340399883222 0.6224250560000001 0.234502869 Calling exit ...