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.001458/0.001458, 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.001637/0.001637, allocations: 173 kB / 23.36 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 1.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.1153/0.1153, allocations: 17.46 MB / 277.7 MB, free: 11.44 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.332e-06/1.332e-06, allocations: 0 / 300.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/1.048e-05, allocations: 2.312 kB / 300.8 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.005766/0.005776, allocations: 7.505 MB / 308.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.02342, allocations: 23.18 MB / 331.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006696/0.02409, allocations: 27.75 kB / 331.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008779/0.02497, allocations: 452.4 kB / 331.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.02854, allocations: 1.962 MB / 333.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.03406, allocations: 3.043 MB / 336.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.03606, allocations: 2.192 MB / 339.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009901/0.03705, allocations: 1.096 MB / 340.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.03819, allocations: 1.482 MB / 341.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.03921, allocations: 1.013 MB / 342.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.03945, allocations: 196 kB / 342.9 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.04307, allocations: 2.495 MB / 345.4 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005001/0.04357, allocations: 486.5 kB / 345.9 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.044, allocations: 0.6978 MB / 346.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.04758, allocations: 4.447 MB / 351 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.04758, allocations: 4 kB / 351 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04759, allocations: 0 / 351 MB, free: 1.633 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.0476, allocations: 0 / 351 MB, free: 1.633 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.002415/0.05001, allocations: 2.324 MB / 353.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.05004, allocations: 8.031 kB / 353.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.05109, allocations: 0.6317 MB / 354 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.05184, allocations: 0.6534 MB / 354.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.05194, allocations: 222.2 kB / 354.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.0521, allocations: 152.3 kB / 355 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.05332, allocations: 1.37 MB / 356.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.05335, allocations: 4.172 kB / 356.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.05344, allocations: 64.12 kB / 356.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.05346, allocations: 36 kB / 356.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.05471, allocations: 1.201 MB / 357.7 MB, free: 10.83 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.004963/0.05967, allocations: 3.743 MB / 361.4 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.06241, allocations: 2.88 MB / 364.3 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.06278, allocations: 400.5 kB / 364.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004203/0.06698, allocations: 3.274 MB / 368 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.06701, allocations: 43.56 kB / 368 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003837/0.0674, allocations: 191.1 kB / 368.2 MB, free: 204 kB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.394e-06/0.0674, allocations: 0 / 368.2 MB, free: 204 kB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.008036/0.07544, allocations: 3.661 MB / 371.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.07547, allocations: 68.66 kB / 371.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.07595, allocations: 0.7821 MB / 372.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.07601, allocations: 49.7 kB / 372.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.07624, allocations: 0.6151 MB / 373.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.07646, allocations: 0.4996 MB / 373.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.07675, allocations: 319.3 kB / 374.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003185/0.07706, allocations: 365.8 kB / 374.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.07735, allocations: 230.7 kB / 374.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.0778, allocations: 0.6891 MB / 375.5 MB, free: 8.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008697/0.07867, allocations: 1.113 MB / 376.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.07867, allocations: 8 kB / 376.6 MB, free: 7.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002184/0.08086, allocations: 1.277 MB / 377.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.08088, allocations: 12 kB / 377.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.08089, allocations: 16.03 kB / 377.9 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.08239, allocations: 474 kB / 378.4 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/0.08319, allocations: 463.3 kB / 378.8 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.0858, allocations: 3.007 MB / 381.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.08624, allocations: 55.98 kB / 381.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/0.08633, allocations: 75.97 kB / 381.9 MB, free: 1.773 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.0002418/0.08657, allocations: 212.2 kB / 382.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.08671, allocations: 123.9 kB / 382.3 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.08897, allocations: 1.26 MB / 383.5 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.08898, allocations: 19.94 kB / 383.5 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.08898, allocations: 0 / 383.5 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.08899, allocations: 7.969 kB / 383.6 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.09188, allocations: 1.812 MB / 385.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.09188, allocations: 0 / 385.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.09248, allocations: 319.5 kB / 385.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.09392, allocations: 450 kB / 386.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.09399, allocations: 39.97 kB / 386.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.09626, allocations: 2.91 MB / 389.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09626, allocations: 0 / 389.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.09852, allocations: 1.468 MB / 390.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.0986, allocations: 103.1 kB / 390.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.0987, allocations: 32 kB / 390.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.099, allocations: 28 kB / 390.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.09917, allocations: 129 kB / 390.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.09923, allocations: 43.97 kB / 390.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.09948, allocations: 371.3 kB / 391.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09948, allocations: 0 / 391.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001621/0.1011, allocations: 0.9506 MB / 392.2 MB, free: 7.262 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.001382/0.1025, allocations: 1.201 MB / 393.4 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.1037, allocations: 1.144 MB / 394.5 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.949e-05/0.1038, allocations: 13.81 kB / 394.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.1044, allocations: 0.717 MB / 395.3 MB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.1053, allocations: 303.1 kB / 395.6 MB, free: 3.848 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.002947/0.1083, allocations: 2.382 MB / 397.9 MB, free: 1.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.1084, allocations: 265.9 kB / 398.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006162/0.109, allocations: 293.2 kB / 398.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/0.1096, allocations: 417 kB / 398.9 MB, free: 468 kB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1096, allocations: 0 / 398.9 MB, free: 468 kB / 362.7 MB Notification: Performance of Templates: time 0.03846/0.1481, allocations: 39.48 MB / 438.4 MB, free: 9.293 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.000484875869006]