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.0007383/0.0007383, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008042/0.0008042, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.84/0.84, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.07858/0.07858, allocations: 17.45 MB / 277.4 MB, free: 11.74 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 412.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.671e-05, allocations: 6.281 kB / 412.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.00512/0.005137, allocations: 6.722 MB / 419.6 MB, free: 8.98 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.01983, allocations: 20.56 MB / 440.2 MB, free: 4.336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004939/0.02032, allocations: 27.75 kB / 440.2 MB, free: 4.309 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.02107, allocations: 440.5 kB / 440.6 MB, free: 3.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.02392, allocations: 1.99 MB / 442.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1425/0.1664, allocations: 3.051 MB / 445.7 MB, free: 45.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.168, allocations: 2.206 MB / 447.9 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.1687, allocations: 1.025 MB / 448.9 MB, free: 45.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007661/0.1694, allocations: 1.485 MB / 450.4 MB, free: 45.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007432/0.1702, allocations: 1.013 MB / 451.4 MB, free: 45.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.1703, allocations: 194 kB / 451.6 MB, free: 45.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.1738, allocations: 2.408 MB / 454 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.174, allocations: 484.2 kB / 454.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.1744, allocations: 0.702 MB / 455.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.1782, allocations: 5.153 MB / 460.3 MB, free: 43.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1782, allocations: 0.7812 kB / 460.3 MB, free: 43.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1782, allocations: 0 / 460.3 MB, free: 43.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1782, allocations: 0 / 460.3 MB, free: 43.83 MB / 410.7 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.002209/0.1804, allocations: 2.35 MB / 462.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1805, allocations: 8.969 kB / 462.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.1813, allocations: 403.1 kB / 463.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/0.1821, allocations: 0.8452 MB / 463.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.1822, allocations: 224.7 kB / 464.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.1823, allocations: 150.1 kB / 464.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.184, allocations: 2.059 MB / 466.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.184, allocations: 192 / 466.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.942e-05/0.1841, allocations: 60.84 kB / 466.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.1841, allocations: 39.53 kB / 466.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.1863, allocations: 2.708 MB / 469.1 MB, free: 40.02 MB / 410.7 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.005058/0.1913, allocations: 5.406 MB / 474.5 MB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.1941, allocations: 2.793 MB / 477.3 MB, free: 36.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.1949, allocations: 0.8111 MB / 478.2 MB, free: 36.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004422/0.1993, allocations: 3.974 MB / 482.1 MB, free: 34.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.1993, allocations: 48.94 kB / 482.2 MB, free: 34.48 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004021/0.1997, allocations: 197.8 kB / 482.4 MB, free: 34.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 2.314e-06/0.1997, allocations: 0 / 482.4 MB, free: 34.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.009706/0.2094, allocations: 5.17 MB / 487.5 MB, free: 32.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2095, allocations: 66.66 kB / 487.6 MB, free: 32.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.2102, allocations: 1.002 MB / 488.6 MB, free: 31.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.2102, allocations: 50.14 kB / 488.7 MB, free: 31.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.2104, allocations: 0.7039 MB / 489.4 MB, free: 31.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.2106, allocations: 0.4949 MB / 489.9 MB, free: 30.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.211, allocations: 332.3 kB / 490.2 MB, free: 30.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.211, allocations: 359.4 kB / 490.5 MB, free: 30.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.2117, allocations: 0.6586 MB / 491.2 MB, free: 30.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/0.2126, allocations: 1.109 MB / 492.3 MB, free: 29.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.2142, allocations: 1.81 MB / 494.1 MB, free: 28.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.2142, allocations: 3.312 kB / 494.1 MB, free: 28.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003465/0.2176, allocations: 2.42 MB / 496.5 MB, free: 27.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2177, allocations: 10.17 kB / 496.5 MB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2177, allocations: 17.19 kB / 496.6 MB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.219, allocations: 497.7 kB / 497 MB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/0.2197, allocations: 413.8 kB / 497.4 MB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.2222, allocations: 3.589 MB / 0.4893 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.2227, allocations: 57.05 kB / 0.4893 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.856e-05/0.2228, allocations: 95.08 kB / 0.4894 GB, free: 24.14 MB / 410.7 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.0003682/0.2232, allocations: 341.8 kB / 0.4898 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.2233, allocations: 125.6 kB / 0.4899 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.2265, allocations: 2.116 MB / 0.4919 GB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2265, allocations: 15.47 kB / 0.492 GB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2265, allocations: 0 / 0.492 GB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.2265, allocations: 7.406 kB / 0.492 GB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.2306, allocations: 3.167 MB / 0.4951 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2306, allocations: 0 / 0.4951 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.2311, allocations: 273.8 kB / 0.4953 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.2323, allocations: 465.5 kB / 0.4958 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.2324, allocations: 48.52 kB / 0.4958 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.2345, allocations: 3.493 MB / 0.4992 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2345, allocations: 4.734 kB / 0.4992 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/0.238, allocations: 2.734 MB / 0.5019 GB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.829e-05/0.2381, allocations: 123.2 kB / 0.502 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.845e-05/0.2382, allocations: 27.8 kB / 0.502 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.2385, allocations: 28 kB / 0.5021 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.2386, allocations: 125.9 kB / 0.5022 GB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.2387, allocations: 59.67 kB / 0.5022 GB, free: 16.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003856/0.2391, allocations: 0.6704 MB / 0.5029 GB, free: 15.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2391, allocations: 0 / 0.5029 GB, free: 15.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001575/0.2406, allocations: 0.9527 MB / 0.5038 GB, free: 14.96 MB / 410.7 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.001073/0.2417, allocations: 1.164 MB / 0.505 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.2434, allocations: 1.837 MB / 0.5068 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2435, allocations: 0 / 0.5068 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008445/0.2443, allocations: 0.9836 MB / 0.5077 GB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.245, allocations: 264 kB / 0.508 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.2474, allocations: 2.626 MB / 0.5105 GB, free: 8.891 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2476, allocations: 0.5978 MB / 0.5111 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.248, allocations: 264 kB / 0.5114 GB, free: 8.215 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.248, allocations: 0 / 0.5114 GB, free: 8.215 MB / 410.7 MB Notification: Performance of Templates: time 0.02741/0.2754, allocations: 44.22 MB / 0.5546 GB, free: 13.14 MB / 458.7 MB " [Timeout remaining time 660] 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.47221842315048] Failed to read output from testmodel.py, exit status != 0: 0.28061363473534584 0.28828619 0.10845385 Calling exit ...