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.0008847/0.0008847, allocations: 80.94 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.0009237/0.0009237, allocations: 181 kB / 23.36 MB, free: 1.129 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.8888/0.8888, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.08349/0.08349, allocations: 17.47 MB / 277.7 MB, free: 11.46 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.453e-06/1.453e-06, allocations: 0 / 300.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.996e-05, allocations: 3.719 kB / 300.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006083/0.006103, allocations: 7.466 MB / 308.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.02489, allocations: 23.18 MB / 331.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.02612, allocations: 27.75 kB / 331.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009741/0.02709, allocations: 448.5 kB / 331.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.03111, allocations: 2.005 MB / 333.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005644/0.03676, allocations: 3.086 MB / 336.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.03904, allocations: 2.2 MB / 339.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.04025, allocations: 1.104 MB / 340.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.0417, allocations: 1.486 MB / 341.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.04297, allocations: 1.01 MB / 342.7 MB, free: 9.988 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.04332, allocations: 192 kB / 342.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.04779, allocations: 2.413 MB / 345.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003915/0.04818, allocations: 490.5 kB / 345.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007161/0.04889, allocations: 0.7016 MB / 346.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00677/0.05566, allocations: 4.451 MB / 351 MB, free: 1.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.05567, allocations: 0 / 351 MB, free: 1.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05567, allocations: 0 / 351 MB, free: 1.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.13e-05/0.05572, allocations: 0 / 351 MB, free: 1.73 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.00305/0.05877, allocations: 2.32 MB / 353.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.0588, allocations: 12.03 kB / 353.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.06021, allocations: 0.6239 MB / 353.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.06116, allocations: 0.6572 MB / 354.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.06127, allocations: 226.2 kB / 354.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.06144, allocations: 148.3 kB / 355 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.06278, allocations: 1.37 MB / 356.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.06281, allocations: 192 / 356.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/0.06291, allocations: 64.12 kB / 356.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.06293, allocations: 36 kB / 356.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.06441, allocations: 1.194 MB / 357.6 MB, free: 10.94 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.00459/0.069, allocations: 3.747 MB / 361.4 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.07186, allocations: 2.896 MB / 364.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.07223, allocations: 388.5 kB / 364.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004295/0.07653, allocations: 3.274 MB / 367.9 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.07656, allocations: 47.56 kB / 368 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004382/0.07699, allocations: 187.1 kB / 368.1 MB, free: 312 kB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 3.717e-06/0.077, allocations: 0 / 368.1 MB, free: 312 kB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.008109/0.08511, allocations: 3.654 MB / 371.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.08514, allocations: 68.72 kB / 371.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.08569, allocations: 0.7821 MB / 372.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.08575, allocations: 45.7 kB / 372.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.08599, allocations: 0.619 MB / 373.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.08623, allocations: 0.4996 MB / 373.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.08651, allocations: 323.3 kB / 374.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.0866, allocations: 365.8 kB / 374.5 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.0869, allocations: 226.7 kB / 374.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.08737, allocations: 0.693 MB / 375.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009052/0.08827, allocations: 1.109 MB / 376.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.08828, allocations: 4 kB / 376.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002218/0.0905, allocations: 1.281 MB / 377.8 MB, free: 6.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.09052, allocations: 12 kB / 377.8 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.09054, allocations: 20.03 kB / 377.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.09206, allocations: 469.9 kB / 378.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.0928, allocations: 407.4 kB / 378.7 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.0952, allocations: 3.009 MB / 381.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.09582, allocations: 52 kB / 381.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/0.09592, allocations: 80.14 kB / 381.8 MB, free: 1.938 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.0003407/0.09626, allocations: 220 kB / 382 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.09644, allocations: 115.9 kB / 382.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.0987, allocations: 1.272 MB / 383.4 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.09871, allocations: 19.94 kB / 383.4 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.09871, allocations: 0 / 383.4 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.09872, allocations: 3.984 kB / 383.4 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.1019, allocations: 1.812 MB / 385.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1019, allocations: 0 / 385.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.1025, allocations: 271.6 kB / 385.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.1038, allocations: 450 kB / 386 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.1039, allocations: 47.97 kB / 386 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.106, allocations: 2.909 MB / 388.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.106, allocations: 0 / 388.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.1083, allocations: 1.46 MB / 390.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.1085, allocations: 103.1 kB / 390.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.1086, allocations: 24 kB / 390.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.1089, allocations: 31.98 kB / 390.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.109, allocations: 121.1 kB / 390.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/0.1091, allocations: 43.97 kB / 390.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.1094, allocations: 375.3 kB / 391.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1094, allocations: 0 / 391.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001711/0.1111, allocations: 0.9467 MB / 392 MB, free: 7.477 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.001578/0.1127, allocations: 1.206 MB / 393.2 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.114, allocations: 1.15 MB / 394.4 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.263e-05/0.114, allocations: 21.81 kB / 394.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007055/0.1147, allocations: 0.7155 MB / 395.1 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.1154, allocations: 297.4 kB / 395.4 MB, free: 4.051 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.003085/0.1185, allocations: 2.382 MB / 397.8 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.1186, allocations: 261.8 kB / 398 MB, free: 1.344 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006399/0.1193, allocations: 295.4 kB / 398.3 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.1198, allocations: 417 kB / 398.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1198, allocations: 0 / 398.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of Templates: time 0.03917/0.159, allocations: 39.48 MB / 438.2 MB, free: 9.496 MB / 410.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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6935783051885664]