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.0007579/0.0007579, allocations: 72.5 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.0007516/0.0007516, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8268/0.8268, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08596/0.08596, allocations: 17.37 MB / 277.3 MB, free: 11.85 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.7031 kB / 412.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.297e-05, allocations: 3.938 kB / 412.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.004576/0.004599, allocations: 6.742 MB / 419.4 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.01887, allocations: 20.57 MB / 440 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005994/0.01947, allocations: 27.34 kB / 440 MB, free: 10.83 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.02037, allocations: 440.2 kB / 440.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.02353, allocations: 1.985 MB / 442.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.02844, allocations: 3.073 MB / 445.5 MB, free: 6.797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.03006, allocations: 2.208 MB / 447.7 MB, free: 5.453 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009474/0.03101, allocations: 1.025 MB / 448.8 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.03212, allocations: 1.493 MB / 450.3 MB, free: 3.883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009818/0.0331, allocations: 1.005 MB / 451.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.0333, allocations: 192 kB / 451.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.03731, allocations: 2.417 MB / 453.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.03758, allocations: 482.5 kB / 454.3 MB, free: 208 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.03806, allocations: 0.7017 MB / 455 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.04271, allocations: 5.141 MB / 460.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.04271, allocations: 4 kB / 460.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04271, allocations: 0 / 460.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.04272, allocations: 0 / 460.2 MB, free: 10.34 MB / 362.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.002435/0.04516, allocations: 2.349 MB / 462.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.04519, allocations: 8.031 kB / 462.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.04608, allocations: 407.1 kB / 462.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.04699, allocations: 0.8392 MB / 463.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.04711, allocations: 219.8 kB / 464 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.04728, allocations: 148.3 kB / 464.1 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.04926, allocations: 2.053 MB / 466.2 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.04928, allocations: 4.125 kB / 466.2 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.04939, allocations: 64.12 kB / 466.3 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.0494, allocations: 36 kB / 466.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/0.05192, allocations: 2.713 MB / 469 MB, free: 1.375 MB / 362.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.00588/0.0578, allocations: 5.4 MB / 474.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.06074, allocations: 2.795 MB / 477.2 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/0.06153, allocations: 0.8051 MB / 478 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004538/0.06606, allocations: 3.978 MB / 482 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.06609, allocations: 43.56 kB / 482 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004008/0.06649, allocations: 199.1 kB / 482.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 2.294e-06/0.06649, allocations: 0 / 482.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.00971/0.0762, allocations: 5.192 MB / 487.4 MB, free: 14.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.07624, allocations: 68.72 kB / 487.5 MB, free: 14.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.07694, allocations: 1.009 MB / 488.5 MB, free: 13.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.077, allocations: 49.7 kB / 488.5 MB, free: 13.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.07729, allocations: 0.6993 MB / 489.2 MB, free: 12.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.07753, allocations: 0.4919 MB / 489.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.07783, allocations: 335.4 kB / 490.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.07793, allocations: 357.9 kB / 490.4 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.07863, allocations: 0.6559 MB / 491.1 MB, free: 11.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.07953, allocations: 1.119 MB / 492.2 MB, free: 9.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.08117, allocations: 1.804 MB / 494 MB, free: 7.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.08117, allocations: 4 kB / 494 MB, free: 7.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003426/0.0846, allocations: 2.412 MB / 496.4 MB, free: 5.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.08462, allocations: 12 kB / 496.4 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.08463, allocations: 12 kB / 496.4 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.08589, allocations: 497 kB / 496.9 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/0.08662, allocations: 419.4 kB / 497.3 MB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.08957, allocations: 3.597 MB / 0.4892 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.09005, allocations: 55.98 kB / 0.4892 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.647e-05/0.09014, allocations: 87.97 kB / 0.4893 GB, free: 0.5117 MB / 394.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.0003709/0.09051, allocations: 337.3 kB / 0.4896 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.09065, allocations: 123.2 kB / 0.4897 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/0.09393, allocations: 2.124 MB / 0.4918 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.09394, allocations: 16 kB / 0.4918 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.09394, allocations: 0 / 0.4918 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.09395, allocations: 11.97 kB / 0.4918 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.09815, allocations: 3.149 MB / 0.4949 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.09816, allocations: 0 / 0.4949 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.09871, allocations: 271.6 kB / 0.4952 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.0999, allocations: 466.1 kB / 0.4956 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/0.09996, allocations: 51.91 kB / 0.4957 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.1025, allocations: 3.492 MB / 0.4991 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1025, allocations: 0 / 0.4991 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.1062, allocations: 2.742 MB / 0.5018 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1063, allocations: 115.1 kB / 0.5019 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.1064, allocations: 28 kB / 0.5019 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.1067, allocations: 31.98 kB / 0.5019 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.1069, allocations: 125.3 kB / 0.502 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.107, allocations: 55.95 kB / 0.5021 GB, free: 3.086 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004675/0.1074, allocations: 0.6709 MB / 0.5028 GB, free: 2.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1074, allocations: 0 / 0.5028 GB, free: 2.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001526/0.109, allocations: 0.9545 MB / 0.5037 GB, free: 1.461 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.001212/0.1102, allocations: 1.167 MB / 0.5048 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.1122, allocations: 1.832 MB / 0.5066 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1122, allocations: 448 / 0.5066 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.1132, allocations: 0.9895 MB / 0.5076 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.1139, allocations: 265.2 kB / 0.5078 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.1167, allocations: 2.623 MB / 0.5104 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.117, allocations: 0.602 MB / 0.511 GB, free: 9.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.1174, allocations: 264.3 kB / 0.5112 GB, free: 9.598 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1174, allocations: 0 / 0.5112 GB, free: 9.598 MB / 426.7 MB Notification: Performance of Templates: time 0.02783/0.1452, allocations: 44.23 MB / 0.5544 GB, free: 13.46 MB / 474.7 MB " [Timeout remaining time 660] 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: 6.5762945069000125] Failed to read output from testmodel.py, exit status != 0: 0.28123032581061125 0.158402903 0.11403212700000001 Calling exit ...