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.0012/0.0012, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001204/0.001204, allocations: 177 kB / 23.35 MB, free: 1.133 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.9957/0.9957, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.09484/0.09484, allocations: 17.38 MB / 277.6 MB, free: 11.52 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.833e-06/1.833e-06, allocations: 0 / 300.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.859e-05, allocations: 4.188 kB / 300.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.01042/0.01045, allocations: 7.5 MB / 308.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.03172, allocations: 23.18 MB / 331.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.03318, allocations: 27.81 kB / 331.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.03432, allocations: 452.4 kB / 331.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.03929, allocations: 1.962 MB / 333.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007028/0.04632, allocations: 3.039 MB / 336.8 MB, free: 36 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003276/0.0496, allocations: 2.2 MB / 339 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.05123, allocations: 1.092 MB / 340.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.0529, allocations: 1.482 MB / 341.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.05428, allocations: 1.017 MB / 342.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003049/0.05459, allocations: 192 kB / 342.8 MB, free: 10 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005673/0.06026, allocations: 2.499 MB / 345.3 MB, free: 7.496 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.06061, allocations: 482.5 kB / 345.8 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007384/0.06135, allocations: 0.7017 MB / 346.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.07162, allocations: 4.451 MB / 350.9 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.07162, allocations: 0 / 350.9 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.07162, allocations: 0 / 350.9 MB, free: 1.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.947e-05/0.07166, allocations: 0 / 350.9 MB, free: 1.852 MB / 314.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.003129/0.07479, allocations: 2.324 MB / 353.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.07483, allocations: 8.031 kB / 353.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.07613, allocations: 0.6354 MB / 353.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009919/0.07712, allocations: 0.6494 MB / 354.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.07724, allocations: 222.2 kB / 354.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.07741, allocations: 156.3 kB / 354.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.07881, allocations: 1.378 MB / 356.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.07884, allocations: 4.125 kB / 356.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/0.07894, allocations: 60.12 kB / 356.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.07897, allocations: 36 kB / 356.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.08042, allocations: 1.198 MB / 357.6 MB, free: 11.04 MB / 330.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.005319/0.08574, allocations: 3.739 MB / 361.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.08871, allocations: 2.893 MB / 364.2 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.08915, allocations: 388.5 kB / 364.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00455/0.0937, allocations: 3.278 MB / 367.9 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.09373, allocations: 43.56 kB / 367.9 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004647/0.09419, allocations: 191.1 kB / 368.1 MB, free: 424 kB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 3.447e-06/0.0942, allocations: 3.984 kB / 368.1 MB, free: 420 kB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.009023/0.1032, allocations: 3.65 MB / 371.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1033, allocations: 68.72 kB / 371.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.1039, allocations: 0.7859 MB / 372.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/0.104, allocations: 49.7 kB / 372.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.1043, allocations: 0.6151 MB / 373.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.1046, allocations: 0.4996 MB / 373.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/0.105, allocations: 323.3 kB / 374.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1051, allocations: 369.7 kB / 374.4 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.1054, allocations: 226.7 kB / 374.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.1059, allocations: 0.6852 MB / 375.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.107, allocations: 1.109 MB / 376.5 MB, free: 7.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.107, allocations: 4 kB / 376.5 MB, free: 7.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002291/0.1093, allocations: 1.284 MB / 377.7 MB, free: 6.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1093, allocations: 16.7 kB / 377.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1094, allocations: 12 kB / 377.8 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.1109, allocations: 477.9 kB / 378.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.1118, allocations: 455.4 kB / 378.7 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.1149, allocations: 3.011 MB / 381.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.1156, allocations: 52 kB / 381.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.1157, allocations: 79.95 kB / 381.8 MB, free: 1.992 MB / 346.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.0004034/0.1161, allocations: 220.1 kB / 382 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.1163, allocations: 111.9 kB / 382.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.1188, allocations: 1.268 MB / 383.4 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.1188, allocations: 19.94 kB / 383.4 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1188, allocations: 0 / 383.4 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.1188, allocations: 7.969 kB / 383.4 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004353/0.1232, allocations: 1.808 MB / 385.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1232, allocations: 0 / 385.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.1243, allocations: 315.6 kB / 385.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.126, allocations: 446 kB / 386 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.1262, allocations: 47.95 kB / 386 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.1288, allocations: 2.913 MB / 389 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1288, allocations: 0 / 389 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.1313, allocations: 1.464 MB / 390.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.1314, allocations: 107.1 kB / 390.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/0.1315, allocations: 28 kB / 390.6 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.1319, allocations: 32 kB / 390.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.132, allocations: 121.1 kB / 390.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/0.1321, allocations: 47.95 kB / 390.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000281/0.1324, allocations: 359.3 kB / 391.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1324, allocations: 0 / 391.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001813/0.1342, allocations: 0.9584 MB / 392.1 MB, free: 7.484 MB / 362.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.001388/0.1356, allocations: 1.194 MB / 393.3 MB, free: 6.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.137, allocations: 1.152 MB / 394.4 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/0.137, allocations: 13.81 kB / 394.4 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007171/0.1377, allocations: 0.7169 MB / 395.1 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.1384, allocations: 294.8 kB / 395.4 MB, free: 4.07 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.1415, allocations: 2.399 MB / 397.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.1417, allocations: 257.9 kB / 398.1 MB, free: 1.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006707/0.1424, allocations: 298.6 kB / 398.4 MB, free: 1.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/0.143, allocations: 413 kB / 398.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.143, allocations: 0 / 398.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of Templates: time 0.04079/0.1838, allocations: 39.48 MB / 438.3 MB, free: 9.508 MB / 410.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9595228619873524]