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.001316/0.001316, 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.001523/0.001523, allocations: 210.8 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1416/0.1416, allocations: 23.94 MB / 337.1 MB, free: 10.9 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.002042/0.002042, allocations: 71.88 kB / 472.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 59.87 MB / 0.5198 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007374/0.3341, allocations: 6.753 MB / 0.5264 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02767/0.3617, allocations: 20.58 MB / 0.5465 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.3632, allocations: 23.16 kB / 0.5465 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.3647, allocations: 448.8 kB / 0.547 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00651/0.3712, allocations: 1.921 MB / 0.5488 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009216/0.3804, allocations: 2.975 MB / 0.5518 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.384, allocations: 2.128 MB / 0.5538 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.3855, allocations: 1.03 MB / 0.5548 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.3871, allocations: 1.089 MB / 0.5559 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.389, allocations: 1.238 MB / 0.5571 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003466/0.3894, allocations: 192.5 kB / 0.5573 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007848/0.3972, allocations: 2.455 MB / 0.5597 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006639/0.3979, allocations: 478.8 kB / 0.5601 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.3994, allocations: 0.8091 MB / 0.5609 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.411, allocations: 4.839 MB / 0.5657 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.411, allocations: 0 / 0.5657 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.411, allocations: 0 / 0.5657 GB, free: 10.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.251e-05/0.4111, allocations: 0 / 0.5657 GB, free: 10.61 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.005942/0.417, allocations: 2.357 MB / 0.568 GB, free: 8.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4171, allocations: 8.031 kB / 0.568 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.419, allocations: 411 kB / 0.5684 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.4207, allocations: 0.8477 MB / 0.5692 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.4209, allocations: 222.2 kB / 0.5694 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/0.4214, allocations: 148.3 kB / 0.5695 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.4251, allocations: 2.06 MB / 0.5716 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.4251, allocations: 3.938 kB / 0.5716 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.4253, allocations: 60 kB / 0.5716 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.4254, allocations: 43.94 kB / 0.5717 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.4299, allocations: 2.705 MB / 0.5743 GB, free: 1.617 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.01167/0.4416, allocations: 5.396 MB / 0.5796 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006096/0.4477, allocations: 2.798 MB / 0.5823 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.4492, allocations: 0.805 MB / 0.5831 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009814/0.459, allocations: 3.986 MB / 0.587 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.459, allocations: 51.5 kB / 0.587 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001012/0.46, allocations: 191.1 kB / 0.5872 GB, free: 4.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.126e-06/0.46, allocations: 0 / 0.5872 GB, free: 4.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02279/0.4828, allocations: 5.17 MB / 0.5923 GB, free: 15.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.4829, allocations: 72.59 kB / 0.5923 GB, free: 14.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.4844, allocations: 1.009 MB / 0.5933 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.4845, allocations: 53.7 kB / 0.5934 GB, free: 13.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006165/0.4851, allocations: 0.6993 MB / 0.5941 GB, free: 13.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.4856, allocations: 0.4958 MB / 0.5945 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007319/0.4863, allocations: 331.4 kB / 0.5949 GB, free: 12.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.4867, allocations: 357.9 kB / 0.5952 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.488, allocations: 0.6559 MB / 0.5958 GB, free: 11.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.4897, allocations: 1.107 MB / 0.5969 GB, free: 10.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.4927, allocations: 1.819 MB / 0.5987 GB, free: 8.039 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4927, allocations: 7.938 kB / 0.5987 GB, free: 8.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007283/0.5, allocations: 2.408 MB / 0.6011 GB, free: 5.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.5, allocations: 12 kB / 0.6011 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.5001, allocations: 15.94 kB / 0.6011 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/0.5032, allocations: 0.4903 MB / 0.6016 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.5049, allocations: 411.4 kB / 0.6019 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/0.5109, allocations: 3.595 MB / 0.6055 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.5123, allocations: 55.98 kB / 0.6055 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.5125, allocations: 99.95 kB / 0.6056 GB, free: 0.7305 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.0006398/0.5131, allocations: 329.3 kB / 0.6059 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.5134, allocations: 123.2 kB / 0.606 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.5205, allocations: 2.12 MB / 0.6081 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.5205, allocations: 19.94 kB / 0.6081 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5205, allocations: 4 kB / 0.6081 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.5205, allocations: 7.969 kB / 0.6081 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008585/0.5291, allocations: 3.171 MB / 0.6112 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5291, allocations: 4 kB / 0.6112 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.5303, allocations: 267.7 kB / 0.6115 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/0.5333, allocations: 474 kB / 0.6119 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.5334, allocations: 43.97 kB / 0.612 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005401/0.5388, allocations: 3.492 MB / 0.6154 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5388, allocations: 0 / 0.6154 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/0.5463, allocations: 2.75 MB / 0.6181 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.5466, allocations: 115.1 kB / 0.6182 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.5468, allocations: 24 kB / 0.6182 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/0.5476, allocations: 32 kB / 0.6182 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.5479, allocations: 125.1 kB / 0.6184 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.548, allocations: 59.97 kB / 0.6184 GB, free: 3.281 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000841/0.5489, allocations: 0.6747 MB / 0.6191 GB, free: 2.605 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5489, allocations: 0 / 0.6191 GB, free: 2.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002581/0.5514, allocations: 0.9506 MB / 0.62 GB, free: 1.652 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.002017/0.5535, allocations: 1.109 MB / 0.6211 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003739/0.5572, allocations: 1.851 MB / 0.6229 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5572, allocations: 0 / 0.6229 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.5592, allocations: 0.9856 MB / 0.6239 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.5605, allocations: 255.9 kB / 0.6241 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.5655, allocations: 2.691 MB / 0.6267 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.5661, allocations: 0.5941 MB / 0.6273 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001195/0.5673, allocations: 332 kB / 0.6276 GB, free: 9.734 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.5678, allocations: 203.3 kB / 0.6278 GB, free: 9.535 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5678, allocations: 0 / 0.6278 GB, free: 9.535 MB / 478.1 MB Notification: Performance of Templates: time 0.05638/0.6242, allocations: 36.77 MB / 0.6637 GB, free: 5.012 MB / 0.4981 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.107306881996919] Failed to read output from testmodel.py, exit status != 0: 0.6332049240008928 0.64743748 0.233179046 Calling exit ...