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.0006908/0.0006908, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009182/0.001609, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006724/0.0006724, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000923/0.001595, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8934/0.8934, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09055/0.984, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08821/0.08821, allocations: 17.45 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01387/0.1021, allocations: 6.973 MB / 268.6 MB, free: 6.281 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.854e-06/1.854e-06, allocations: 0 / 269.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.355e-05, allocations: 2.312 kB / 269.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.1544/0.1544, allocations: 7.548 MB / 277.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.177, allocations: 23.35 MB / 300.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.1784, allocations: 28.19 kB / 300.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.1799, allocations: 454.8 kB / 301.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006035/0.1859, allocations: 1.957 MB / 303.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008855/0.1948, allocations: 3.042 MB / 306.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003291/0.1981, allocations: 2.184 MB / 308.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.1996, allocations: 1.081 MB / 309.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.202, allocations: 1.576 MB / 311.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.2038, allocations: 1.025 MB / 312.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005711/0.2044, allocations: 192 kB / 312.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007425/0.2118, allocations: 2.519 MB / 314.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.2123, allocations: 335 kB / 315.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000951/0.2133, allocations: 0.5381 MB / 315.7 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.2238, allocations: 4.047 MB / 319.7 MB, free: 372 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.2238, allocations: 0 / 319.7 MB, free: 372 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2238, allocations: 4 kB / 319.7 MB, free: 368 kB / 298.7 MB Notification: Performance of Transformations before backend: time 5.921e-05/0.2239, allocations: 0 / 319.7 MB, free: 368 kB / 298.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.004569/0.2284, allocations: 2.953 MB / 322.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2285, allocations: 12.03 kB / 322.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.2303, allocations: 0.7037 MB / 323.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.2315, allocations: 0.6533 MB / 324 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004131/0.2319, allocations: 218.3 kB / 324.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.2322, allocations: 152.3 kB / 324.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.234, allocations: 1.374 MB / 325.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.2341, allocations: 192 / 325.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.2342, allocations: 68.06 kB / 325.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.2342, allocations: 36 kB / 325.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.2361, allocations: 1.194 MB / 327.1 MB, free: 8.832 MB / 314.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.006841/0.2429, allocations: 3.754 MB / 330.8 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/0.2472, allocations: 2.893 MB / 333.7 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.2477, allocations: 388.5 kB / 334.1 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005641/0.2533, allocations: 3.154 MB / 337.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.2534, allocations: 43.56 kB / 337.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005401/0.2539, allocations: 191 kB / 337.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 5.27e-06/0.2539, allocations: 0 / 337.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.01147/0.2654, allocations: 4.131 MB / 341.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2654, allocations: 72.72 kB / 341.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.2661, allocations: 0.7975 MB / 342.5 MB, free: 9.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.2662, allocations: 45.7 kB / 342.5 MB, free: 9.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.2665, allocations: 0.6074 MB / 343.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.2668, allocations: 0.4957 MB / 343.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.2671, allocations: 315.3 kB / 343.9 MB, free: 7.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2672, allocations: 361.8 kB / 344.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.2675, allocations: 224 kB / 344.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.2681, allocations: 0.6929 MB / 345.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.2691, allocations: 1.144 MB / 346.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.2691, allocations: 11.94 kB / 346.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.002366/0.2715, allocations: 1.272 MB / 347.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.2715, allocations: 16.66 kB / 347.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.2715, allocations: 12 kB / 347.7 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.2732, allocations: 476.6 kB / 348.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/0.2741, allocations: 491.3 kB / 348.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.2769, allocations: 3.02 MB / 351.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.2777, allocations: 52 kB / 351.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.2778, allocations: 75.89 kB / 351.8 MB, free: 15.38 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 (208): * Single equations (assignments): 205 * 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.00036/0.2781, allocations: 216.1 kB / 352 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.2783, allocations: 111.9 kB / 352.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.2808, allocations: 1.264 MB / 353.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.2808, allocations: 12 kB / 353.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.2808, allocations: 4 kB / 353.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.2809, allocations: 7.922 kB / 353.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/0.2842, allocations: 1.816 MB / 355.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2843, allocations: 0 / 355.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.2849, allocations: 331.6 kB / 355.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.2851, allocations: 103.1 kB / 355.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.2866, allocations: 457.9 kB / 356.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.2867, allocations: 43.97 kB / 356.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.2891, allocations: 2.909 MB / 359 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.2891, allocations: 3.984 kB / 359 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.2917, allocations: 1.452 MB / 360.5 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.2918, allocations: 24 kB / 360.5 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.2922, allocations: 32.06 kB / 360.5 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.2924, allocations: 125.1 kB / 360.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/0.2925, allocations: 43.97 kB / 360.7 MB, free: 6.184 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003441/0.2928, allocations: 371.3 kB / 361 MB, free: 5.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2928, allocations: 0 / 361 MB, free: 5.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002275/0.2951, allocations: 0.9428 MB / 362 MB, free: 4.875 MB / 346.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 (140): * Single equations (assignments): 137 * 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.00346/0.2986, allocations: 1.203 MB / 363.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.3014, allocations: 1.167 MB / 364.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.851e-05/0.3015, allocations: 21.81 kB / 364.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.303, allocations: 0.8054 MB / 365.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.3052, allocations: 1.679 MB / 366.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.3187, allocations: 2.43 MB / 369.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.3189, allocations: 261.5 kB / 369.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001249/0.3201, allocations: 291.2 kB / 369.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/0.3208, allocations: 425 kB / 370.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 2.014e-06/0.3208, allocations: 3.938 kB / 370.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.0471/0.3679, allocations: 39.64 MB / 409.9 MB, free: 4.922 MB / 394.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.664915658533573]