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.00126/0.00126, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00138/0.00138, allocations: 177 kB / 23.35 MB, free: 1.137 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.941/0.941, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.1016/0.1016, allocations: 17.37 MB / 277.6 MB, free: 11.5 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.262e-06/1.262e-06, allocations: 0 / 300.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.989e-06/1.125e-05, allocations: 2.312 kB / 300.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007311/0.007322, allocations: 7.449 MB / 308.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02029/0.02761, allocations: 23.18 MB / 331.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009251/0.02854, allocations: 31.81 kB / 331.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.02984, allocations: 448.4 kB / 331.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.03426, allocations: 2.013 MB / 333.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006473/0.04073, allocations: 3.09 MB / 336.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00258/0.04331, allocations: 2.199 MB / 339 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.04432, allocations: 1.088 MB / 340.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.04549, allocations: 1.494 MB / 341.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.04669, allocations: 1.013 MB / 342.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.04691, allocations: 192 kB / 342.8 MB, free: 9.957 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/0.05241, allocations: 2.405 MB / 345.2 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005484/0.05295, allocations: 486.5 kB / 345.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008233/0.05378, allocations: 0.7017 MB / 346.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008674/0.06245, allocations: 4.451 MB / 350.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.06246, allocations: 0 / 350.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06246, allocations: 4 kB / 350.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.902e-05/0.0625, allocations: 0 / 350.8 MB, free: 1.895 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.003055/0.06555, allocations: 2.324 MB / 353.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.06558, allocations: 8.031 kB / 353.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.06679, allocations: 0.6276 MB / 353.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/0.06765, allocations: 0.6533 MB / 354.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.06776, allocations: 218.3 kB / 354.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.06792, allocations: 156.2 kB / 354.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.06944, allocations: 1.37 MB / 356.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.06946, allocations: 192 / 356.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.06956, allocations: 60.12 kB / 356.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.06958, allocations: 36 kB / 356.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.07085, allocations: 1.202 MB / 357.5 MB, free: 11.1 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.005149/0.076, allocations: 3.75 MB / 361.2 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.07875, allocations: 2.886 MB / 364.1 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.07913, allocations: 388.5 kB / 364.5 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004338/0.08347, allocations: 3.282 MB / 367.8 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.08349, allocations: 43.56 kB / 367.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003841/0.08388, allocations: 199 kB / 368 MB, free: 468 kB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.325e-06/0.08388, allocations: 0 / 368 MB, free: 468 kB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.008011/0.09189, allocations: 3.642 MB / 371.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.09192, allocations: 68.72 kB / 371.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.09244, allocations: 0.7937 MB / 372.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.0925, allocations: 49.7 kB / 372.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.09299, allocations: 0.6113 MB / 373.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.09324, allocations: 0.4957 MB / 373.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.09353, allocations: 323.3 kB / 374 MB, free: 10.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.09362, allocations: 365.8 kB / 374.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.09391, allocations: 230.7 kB / 374.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.09438, allocations: 0.6891 MB / 375.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/0.09528, allocations: 1.109 MB / 376.4 MB, free: 7.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.09529, allocations: 4 kB / 376.4 MB, free: 7.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002203/0.09749, allocations: 1.284 MB / 377.7 MB, free: 6.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.09752, allocations: 14.91 kB / 377.7 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.09754, allocations: 12 kB / 377.7 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.09901, allocations: 478 kB / 378.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.09973, allocations: 411.3 kB / 378.6 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.1023, allocations: 3.01 MB / 381.6 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.1028, allocations: 52 kB / 381.6 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.595e-05/0.1029, allocations: 71.95 kB / 381.7 MB, free: 2.098 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.0002877/0.1032, allocations: 216.2 kB / 381.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.1033, allocations: 111.9 kB / 382 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.1056, allocations: 1.27 MB / 383.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.1056, allocations: 15.94 kB / 383.3 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.1056, allocations: 4 kB / 383.3 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.1056, allocations: 7.969 kB / 383.3 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.1085, allocations: 1.805 MB / 385.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1085, allocations: 0 / 385.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.1091, allocations: 279.5 kB / 385.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.1105, allocations: 458.1 kB / 385.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.1106, allocations: 47.89 kB / 385.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.113, allocations: 2.898 MB / 388.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.113, allocations: 4 kB / 388.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.1153, allocations: 1.468 MB / 390.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1154, allocations: 99.14 kB / 390.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.1155, allocations: 31.98 kB / 390.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.1158, allocations: 28 kB / 390.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.1159, allocations: 121.1 kB / 390.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.116, allocations: 47.95 kB / 390.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002759/0.1163, allocations: 367.3 kB / 390.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1163, allocations: 3.938 kB / 390.9 MB, free: 8.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001855/0.1181, allocations: 0.9545 MB / 391.9 MB, free: 7.625 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.001397/0.1195, allocations: 1.198 MB / 393.1 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.1208, allocations: 1.158 MB / 394.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.996e-05/0.1208, allocations: 13.81 kB / 394.3 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009495/0.1218, allocations: 0.7155 MB / 395 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.1224, allocations: 289.5 kB / 395.3 MB, free: 4.211 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.002996/0.1254, allocations: 2.395 MB / 397.6 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.1256, allocations: 257.9 kB / 397.9 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006261/0.1262, allocations: 290.5 kB / 398.2 MB, free: 1.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/0.1268, allocations: 417 kB / 398.6 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1268, allocations: 0 / 398.6 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of Templates: time 0.03873/0.1655, allocations: 39.48 MB / 438.1 MB, free: 9.66 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8797562988474965]